If you look at the documentation for signal handlers, you'll see that they
get called asynchronous to normal program flow
Thanks Gavin for that confirmation.
Would it be fair to say that the article here understates the threading
issues?
http://www.ibm.com/developerworks/linux/library/l-cp
Hello Wolfgang
If you throw an exception from the context of your signal handler, why do you
expect that it is thrown in the context of the main thread?
I think your expectations are flawed.
This is precisely why I am asking the question :). given that the
application has a single main thread
Hi Jerry,
Am Dienstag, 5. Oktober 2010 14:58:27 schrieb g...@novadsp.com:
> I've got an extremely simple SIGINT handler that throws a C++
> exception to ensure proper cleanup etc. I can see from console spew that
> the signal handler is being called but the exception is not caught.
If you throw