Re:Ctrl-C
by colanderman on Saturday August 06, 2022 @08:48AM
(#32367626)
Agreed -- if signal handlers are too messy, `sem_post(3)`, `sigwait(2)`, or `signalfd(2)` will get that control flow where you want it. Then the problem is reduced to "my application needs to handle a graceful shutdown event", which, though possibly complex, isn't really that novel.
[ Parent
| on HN ]
There are no comments on this comment yet.