Real time signal blocking

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Real time signal blocking

Kevin Wong
Hi All,

I am using swig to create a Java module for my C/C++ code.  The C/C++
code calls a library which generates signals which can cause the thread
to shutdown if not handled properly.  Therefore we have blocked the set
of signals using "sigprocmask" and everything works fine when run normally.

The problem is that when accessing the C/C++ code through JNI, we get a
"Real-time Signal 0" output to the console and the product shuts down.  
Is there any  way around this?

Thanks


------------------------------------------------------------------------------
_______________________________________________
Swig-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swig-user
Loading...