- Published on
TIL: You can throw a C++ exception from a signal handler!!
It is possible to throw a C++ exception from within a signal handler. There exists codegen machinery to make sure it all works as expected.
Source: Discussed off-hand at a CS 591 ACT talk by Lukas Döllerer.