| commit | f6681a3a96ae06d62db49594ba0dcf352f817801 | [log] [download] |
|---|---|---|
| author | Damien Miller <djm@mindrot.org> | Fri Dec 21 14:53:11 2001 +1100 |
| committer | Damien Miller <djm@mindrot.org> | Fri Dec 21 14:53:11 2001 +1100 |
| tree | 30dffcc80c35ed4b1e97d4d114a8eaebc14412be | |
| parent | 8db9a8431058974fe54b4a68684cb16ed70d1f9e [diff] |
- markus@cvs.openbsd.org 2001/12/19 16:09:39
[serverloop.c]
fix race between SIGCHLD and select with an additional pipe. writing
to the pipe on SIGCHLD wakes up select(). using pselect() is not
portable and siglongjmp() ugly. W. R. Stevens suggests similar solution.
initial idea by pmenage@ensim.com; ok deraadt@, djm@