Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-02-14 | monitor-fds: Fix on macOS. | Shea Levy | 1 | -7/+23 | |
Fixes #1871. | |||||
2017-01-26 | Fix interrupt handling | Eelco Dolstra | 1 | -2/+1 | |
2014-12-14 | Pedantry | Eelco Dolstra | 1 | -1/+1 | |
2014-12-09 | Explicitly include required C headers | Marko Durkovic | 1 | -0/+1 | |
2014-07-24 | Use pthread_cancel instead of a signal | Eelco Dolstra | 1 | -5/+2 | |
Signal handlers are process-wide, so sending SIGINT to the monitor thread will cause the normal SIGINT handler to run. This sets the isInterrupted flag, which is not what we want. So use pthread_cancel instead. | |||||
2014-07-24 | Fix bogus pass by reference | Eelco Dolstra | 1 | -6/+1 | |
http://hydra.nixos.org/build/12711659 | |||||
2014-07-24 | More debugging | Eelco Dolstra | 1 | -0/+1 | |
2014-07-24 | Add some assertions | Eelco Dolstra | 1 | -0/+6 | |
2014-07-23 | nix-daemon: Use a thread instead of SIGPOLL to catch client disconnects | Eelco Dolstra | 1 | -0/+43 | |
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. |