Ghosts of Unix past, part 3: Unfixable designs
Ghosts of Unix past, part 3: Unfixable designs
Posted Nov 16, 2010 17:17 UTC (Tue) by mjthayer (guest, #39183)In reply to: Ghosts of Unix past, part 3: Unfixable designs by foom
Parent article: Ghosts of Unix past, part 3: Unfixable designs
Posted Nov 16, 2010 17:29 UTC (Tue)
by foom (subscriber, #14868)
[Link] (1 responses)
Most sensible such applications will already implement that by writing a signal handler for SIGCHLD which simply writes a byte into a pipe, and then has the event loop look for readability on that pipe. Signalfd would let you do that more easily -- if you could actually use it.
Posted Nov 16, 2010 17:33 UTC (Tue)
by mjthayer (guest, #39183)
[Link]
That makes sense - and obviously a named pipe would be no good there whatsoever. I was more thinking of things like SIGUSR1 sorts of interactions.
Ghosts of Unix past, part 3: Unfixable designs
Ghosts of Unix past, part 3: Unfixable designs
