Y
Hacker News
new
|
ask
|
show
|
jobs
by
immibis
706 days ago
This entire class of bug could also be solved by avoiding signal handlers. You can still use SIGALRM for a timeout, but don't log it. If you need complex processing, use signalfd to read signals in the event loop.