Okay, I'm writing some JNI code for some stuff using RT signals. I need to 
do some sigtimedwaits, which then post as IO events to the JVM. My original 
design was to have Java threads invoke something like waitForIO(), which 
was a native method which did the sigtimedwait(). Unfortunately, this seems 
like to cause problems for the JVM's GC.

Is the only solution to use native threads, have them "join" the VM to post 
events, and then have them "leave" the VM before invoking sigtimedwait() 
again? That seems just really slow and painful.

--Chris


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

Reply via email to