Is it safe to do pthread_join on a thread that has been attached to JVM using JNI's AttachCurrentThread method
when we attach a Cpp thread to the Java Native Interface (JNI) using the AttachCurrentThread (JavaVM *vm, void **p_env, void *thr_args) method, the C++ thread effectively becomes an external thread from the perspective of the Java Virtual Machine (JVM).
After Attaching the Native Cpp thread to JVM, if I do pthread_join on the attached thread or if the attached thread is abruptly terminated before getting Detach from JVM, Is there going to be an issue?
what I understand is when a native thread...