switch to kqueue to ensure we will not loose SIGINT sent by parent to child
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/libutil/tests/pidfile_test.c | ||
---|---|---|
172 ↗ | (On Diff #20344) | What was the exact error occurring here before? Did you ever trace that down? Also, I wish that the return code from select(2) had been checked previously... |
173 ↗ | (On Diff #20344) | Ensure kq != -1. |
177 ↗ | (On Diff #20344) | Print out an error message with err or use a different exit code...? |
183 ↗ | (On Diff #20344) | Print out an error message with err or use a different exit code...? |
lib/libutil/tests/pidfile_test.c | ||
---|---|---|
172 ↗ | (On Diff #20344) | there is no error, but scheduler do a thread switch just after write(fd[1],...) and before select(), so child process miss signal and never dies (waits forever in select()) |