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?