Toward race-free process signaling
Toward race-free process signaling
Posted Dec 6, 2018 23:52 UTC (Thu) by dw (subscriber, #12017)In reply to: Toward race-free process signaling by kjp
Parent article: Toward race-free process signaling
After reading your comment it's hard to take the other proposals seriously, they're ridiculously over-engineered. A kill2() that accepted an opaque, randomly generated per-process cookie stashed in the task structure that could be extracted somehow would be vastly simpler for implement and for users to understand.
Of course, having a 'process file descriptor' is overall much more generic, and perhaps those designs have aspirations for extending the functionality later, but this does not seem worth probably yet another 8kb of .text, possibly only in the name of being 'UNIXey'