Lars Hagström - 2012-10-17

Check out pthread_sigmask, maybe that could be useful. Don't know how it works when the signals are SIGSEGV etc.
Don't know if there is something similar on windows.