Hallo Lee,

LX>so2 in either t1 or t2 thread context, so2 always uses the second 
LX>thread t2's *JNIEnv to call back to java.  But we need so2 call back to 
LX>so1 then 

As said before: try it without global variables. Even if everything works
correctly for one thread - as you noticed, the JNIEnv's for different threads
are different, so if you use global variables to store them, you're calling
for problems.

MbG, Ekkehard


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to