From: Steinar H. Gunderson Date: Fri, 19 Apr 2013 21:39:23 +0000 (+0200) Subject: Rewrite the entire internal signal handling/wakeup. X-Git-Tag: 1.0.0~63 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=3fd8650ccf3da3960a946d8ac9abc305aec399ce;hp=3fd8650ccf3da3960a946d8ac9abc305aec399ce Rewrite the entire internal signal handling/wakeup. We now solve things in a much less racy way, sending SIGUSR1 internally, which is blocked except in poll/epoll. This should be more stable, require no more fixed-length wakeups (no more wakeup every 20 ms in each server), and upset Valgrind less. However, it's also complex to get right, so it might introduce new bugs. ---