News for hackers. Stuff that matters.
Re:Should you be scared of Unix signals? by adrianratnapala on Tuesday June 14, 2016 @03:40AM (#11900405)
...so interrupt-callbacks was the only way to avoid blocking calls

I don't know how early MacOS works, but on Unix its not the _only_ way: that's what poll(), select() and the like are for.

And while threads their uses, they don't really change this aspect. Eventually the thread must report a result, and the best way to do that is to report into to some queue that gets polled somewhere.

Re:Should you be scared of Unix signals? by cturner on Tuesday June 14, 2016 @03:48AM (#11900439)
"on Unix its not the _only_ way"

Options were more limited in early unix. Use of signals as an adhoc IPC mechanism predates BSD sockets api (1983). Poll has something to do with SysV, so would have been later. There may have been other IPC mechanisms that were dropped before modern unix (but presumably dropped for good reasons). Art of Unix Programming refers to one called mx.