Should my application run with green threads or native threads if I'm writing JNI code?

Nathan Meyers

For most JNI code, it doesn't matter. The exception is if you are making any native calls associated with threading - that is, calls to the pthread library to create or manage threads. Then you must run the application with native threads so that the JVM and your own native code are using the same thread libraries.

Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact