Antony Polukhin wrote:
As long as we have no strict documentation or source codes of the component - it is UB to use it in async-signal-handler.
Yes, obviously. It's not clear though what do Linux users gain from the
decision to keep their backend async-unsafe just because Windows is not
strictly documented.
And, FWIW, Windows is pretty resilient. Here for instance I crash in an APC
that is called by the kernel, and it works, even though I can't see g() in
the trace probably because Windows has handled the exception and rethrown
it:
#include