Block signals for the helper thread
authorBart Van Assche <bvanassche@acm.org>
Sat, 4 Jan 2020 21:58:52 +0000 (13:58 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sat, 4 Jan 2020 22:39:41 +0000 (14:39 -0800)
commitc31092b8ac06d845f3022339f55f482308e02b6e
tree4e002562bee55a68c2404baf78fd73e7e25df176
parentc9964510c46844015a8f1509b792a171ab753969
Block signals for the helper thread

Let another thread than the helper thread handle signals. This simplifies
error handling. As an example, the next patch will check the return value
of select() and won't have to check for EINTR due to this patch.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
configure
helper_thread.c