Martin Hořeňovský b15ef6d703 Added signal handling under Windows.
Only some "signals" are handled under Windows, because Windows does not
use signals per-se and the mechanics are different. For now, we handle
sigsegv, stack overflow, div-by-zero and sigill. We can also meaningfully
add various floating point errors, but not sigterm and family, because
sigterm is not a structured exception under Windows.

There is also not catch-all, because that would also catch various
debugger-related exceptions, like EXCEPTION_BREAKPOINT.
2016-12-16 13:53:30 +01:00
..
2016-01-22 07:50:10 +00:00