How to obtain JNI interface pointer (JNIEnv *) for asynchronous calls How to obtain JNI interface pointer (JNIEnv *) for asynchronous calls multithreading multithreading