3 ms·
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 handl
by simcop2387 5y ago
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
- surajrmal 5y agoNot 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.