I want to be able to catch SIGINTs...

When i run the VM with green threads it all works but running it with native threads 
is something I have huge problems with....

What I want is that the signal handler only get called once, but since it is native 
threads it seems as if it is called once for every thread even though only one thread 
called "signal(SIGINT,sig_int)" (sigblock doesn't work since there are separate 
threads). This works fine as long as my signal handler doesn't do anything, however 
when I call a java method from the c code i segfault due to multiple signals result in 
the java method is called severall times (i think).

greatfull for all help.
/isaac 


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

Reply via email to