2 ms·
This does not work - signalfd cannot catch synchronous signals, per the man page: > Limitations > The signalfd mechanism can't be used to receive signals that
by nneonneo 8y ago
This does not work - signalfd cannot catch synchronous signals, per the man page:
> Limitations
> The signalfd mechanism can't be used to receive signals that are synchronously generated, such as the SIGSEGV signal
This is because synchronous signals are fired at the thread that caused them, and signalfd read() calls can't be used to read signals fired at other threads.