Re:Ghosts of Unix past, part 3: Unfixable designs (2010)
by simcop2387 on Monday May 17, 2021 @01:34PM
(#27185936)
This is actually what pidfd does on linux, you get a handle to the process that lets you interact with it in that same manner. Once the process exits the handle gets closed and all the operations will report an error even if you have a recycled pid
[ Parent
| on HN ]
Re:Ghosts of Unix past, part 3: Unfixable designs (2010)
by surajrmal on Tuesday May 18, 2021 @03:21AM
(#27192038)
Not that it matters much these days, but do note that pidfd is a Linux concept, not a posix one. It's also a fairly recent one and it'll be a number of years before many people can use it even still. Windows by comparison has had a solution for white some time.