Added functions to attach/detach native threads to the JVM
authorTobias Brunner <tobias@strongswan.org>
Sat, 14 Jul 2012 14:06:12 +0000 (16:06 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 Aug 2012 13:41:04 +0000 (15:41 +0200)
commitf83f65be08de72547bb06e5f2127d70f041d3299
treebd93b9a91b14032705ed9320973a6b242275c0c8
parentcb887af4cf6ea2a670c93caae8732a657e0df3d4
Added functions to attach/detach native threads to the JVM

Even though native threads are automatically detached from the JVM with
help of a thread-local destructor it is recommended to detach as soon as
possible as local JNI references are not freed until a thread detaches.
src/frontends/android/jni/libandroidbridge/android_jni.c
src/frontends/android/jni/libandroidbridge/android_jni.h