|
|
|
|
|
by the_why_of_y
4065 days ago
|
|
Exactly. Signal mechanism makes sense to notify synchronous errors that arise from the thread's own execution, like SIGSEGV or SIGILL or SIGFPE. Most of the rest of the traditional UNIX signals are events that should be communicated asynchronously via file descriptors that a process can poll at its leisure, which would be more UNIX-y. Well at least Linux has signalfd(2) now. |
|