annoying Linux API peculiarity: there is no clean, race-free way to kill a specific process because killing uses a PID, which can be reused
-
-
Replying to @tehjh
it would be nice if there were alternative APIs for this, e.g. in procfs
1 reply 0 retweets 0 likes -
Replying to @tehjh
Still be a race if you obtained it via /proc/PID though. APIs using pid_t should be added with pid fd with a new way to spawn returning one.
4 replies 0 retweets 1 like
Replying to @CopperheadOS
a wrapper for letting spawn return a pid fd should be writable in userspace pretty easily, without kernel modifications, I think
5:43 PM - 27 May 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.