3 ms·
This is awesome. Does POSIX guarantee the order of signal delivery? And I'm dying to see what the bandwidth / throughput of this channel is...
by bradleybuda 1y ago
This is awesome. Does POSIX guarantee the order of signal delivery? And I'm dying to see what the bandwidth / throughput of this channel is...
- cannonpalms 1y agoFor standard signals--no, but for real-time signals, yes. The latter are still a portability issue, though.
- bradleybuda 1y agoAnswering both of my questions, from the post: sleep 0.001 # Delay to allow the receiver to process the signal
- toast0 1y agoI don't know if POSIX has a position on signal order. But I'm pretty sure it allows signals to be coallesced... if a process is sent the same signal several times before the handler is invoked, it's in spec to only invoke it once.
- o11c 1y agoReal-time signals have guaranteed order: first by number (lowest first, i.e. `SIGRTMIN`), then by the order in which they are sent. Signals are generally the slowest IPC method, unless you're doing something stupid with a different method.