JNI Multi threading Problem
843829Feb 1 2010 — edited Feb 4 2010Hi,
I have Java application which loads native c++ dlls in run time. In single threaded mode the application is working fine.I modified the application such that multiple threads created by JVM can access the C++ dll.
Thead model is Windows threads. To make the application thread safe I'm using OMP supported by MSVS-2008 but the application is crashing :(.
I'm not creating any threads in C++ code but i'm just allowing threads created by JVM to run thru the C++ code.
Please let me know wheather i'm missing something and doing something wrong?. I'm new to JNI coding.