Skip to content
Snippets Groups Projects
Commit 16c0f37b authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf
Browse files

android: simplify/improve the attachment of a thread to the Java VM


There is now only one way to get a JNIEnv: jni_get_env. This function use the
thread-specific data (TSD) areas to save a JNIEnv into a TSD key. The thread
will be automatically detached to the Java VM when it's canceled or exited.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 70a0829a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment