Fedora: an example of community involvement
Posted Nov 19, 2004 13:58 UTC (Fri) by dcoutts
In reply to: Fedora: an example of community involvement
Parent article: Fedora: an example of community involvement
It was not obviously a busy loop. It's a problem with properly understanding the wierd semantics of FIFO's. Apparently if a FIFO has no writers and a reader is poll()ing/select()ing on it, the semantics is that instead of blocking until a writer connects to the FIFO and writes something, the kernel sends the reader process sig HUP every time it poll()s. So the reader ends up spinning bussily.
Conclusion FIFO's are wierd and best avoided in favour of unix domain sockets.
to post comments)