2 ms·
OS X, however? It's not particularly hard to emulate (most of) signalfd()'s behavior by writing a byte to a pipe and checking for it in your main loop.
by eropple 15y ago
OS X, however?
It's not particularly hard to emulate (most of) signalfd()'s behavior by writing a byte to a pipe and checking for it in your main loop.
- krakensden 15y agoSurely you mean iOS. In which case, I'm not sure why you would be spending much time worrying about signals.
- eropple 15y agoEr, no, thank you, I very much do not mean iOS. I mean OS X, which, irrespective of your (obnoxiously communicated) opinion of it, is rather popular amongst Unix developers and it tends to be a good idea to write your Unix code to support it.