Fedora: an example of community involvement
Fedora: an example of community involvement
Posted Nov 18, 2004 20:13 UTC (Thu) by stuart2048 (guest, #6241)In reply to: Fedora: an example of community involvement by bronson
Parent article: Fedora: an example of community involvement
Hmm, what sort of award should we propose for the chap who stuck a busy loop in rhgb in the first place?
Posted Nov 19, 2004 13:58 UTC (Fri)
by dcoutts (guest, #5387)
[Link]
Conclusion FIFO's are wierd and best avoided in favour of unix domain sockets.
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.Fedora: an example of community involvement