3 ms·
The article explicitly mentioned signalfd, which is a less hackish way of doing the same.
by Sesse__ 3y ago
The article explicitly mentioned signalfd, which is a less hackish way of doing the same.
- fanf2 3y agosignalfd() is less portable and has caveats around signal masks and subprocesses that you can avoid with the self-pipe trick.