Avoid some potential race conditions by blocking the signals we manage

They are atomically unblocked in the ppoll/epoll_pwait calls, avoiding any
race condition on the check of the “stop” or “reload” booleans.
This commit is contained in:
Florent Le Coz
2015-05-27 23:44:23 +02:00
parent 54f96debca
commit 897b281e67
2 changed files with 12 additions and 2 deletions