diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-23T17·21+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-23T17·21+0200 |
commit | 49fe9592a47e7819179c2de4fd6068e897e944c7 (patch) | |
tree | 2c1690e23d30f5250e0a41f9020739c65025d3e9 /version | |
parent | fdee1ced43fb495d612a29e955141cdf6b9a95ba (diff) |
nix-daemon: Use a thread instead of SIGPOLL to catch client disconnects
The thread calls poll() to wait until a HUP (or other error event) happens on the client connection. If so, it sends SIGINT to the main thread, which is then cleaned up normally. This is much nicer than messing around with SIGPOLL.
Diffstat (limited to 'version')
0 files changed, 0 insertions, 0 deletions