chickadee » jni » jvm-detach-current-thread

jvm-detach-current-thread JAVA-VMprocedure

Detaches the current thread from a Java VM. All Java monitors held by this thread are released. All Java threads waiting for this thread to die are notified. Returns JNI\_OK on success; returns a suitable JNI error code (a negative number) on failure.