switch to kqueue to ensure we will not loose SIGINT sent by parent to child
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
lib/libutil/tests/pidfile_test.c | ||
---|---|---|
172 | 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 | Ensure kq != -1. | |
177 | Print out an error message with err or use a different exit code...? | |
183 | Print out an error message with err or use a different exit code...? |
lib/libutil/tests/pidfile_test.c | ||
---|---|---|
172 | 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()) |