mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-25 15:00:12 +01:00
glibc raise() actually disables all signals, raises the signal that the user wants, then reenables the previous signal mask. On the reenabling of the previous signal mask, that is when the pending signal fires. This needs to be accurately handled, so check for pending signals getting unmasked in sigprocmask This also then needs to be further fixed to handle default signal handling, where if a signal was sent that is default ignored (NOT set to ignore!) then it would just exit the application before. Now something likg SIGCHLD with the default handler (aka ignore) won't kill the process