Self-pipe trick (and failings)
Posted Mar 31, 2006 13:43 UTC (Fri) by
clugstj (subscriber, #4020)
In reply to:
Self-pipe trick (and failings) by mkerrisk
Parent article:
The new pselect() system call
Yes, it takes some code, but it only needs to be written and debugged once. Then tuck it into you comm library behind a simple interface and forget about the gory details. This is a problem that can be solved completely in user space. Adding a new system call to handle it is adding complexity to the kernel for no good reason.
It is not a better solution just because it takes less code (in user space).
(
Log in to post comments)