This link seems to suggest that โit just worksโ: (quite far below at the bottom 7.3 Attaching own threads) http://java.sun.com/docs/books/jni/html/invoke.html
I do not understand how this is possible, is the built-in JVM automatically start its own threads? Or JNI Call Queues? How else can there be several calls to the same virtual machine. which I did not instruct to make a thread?
In any case, I can imagine that there is work if the Java code will simply be executed in the same call flow as the c code. It's right? This would mean that I do not need to do any threads in Java.
source share