title: JNI, How to access the current Java thread in JNI
body: <p>is there a way to get Java thread(ID, name) from JNI. I am not talking about passing <code>Thread.currentThread().getId()</code> from java to JNI. Does JNI provide API to access currently running thread?</p>