3 ms·
We've talked before about FreeBSD's process descriptors and EVFILT_PROC kevents, ne?
by JdeBP 9y ago
We've talked before about FreeBSD's process descriptors and EVFILT_PROC kevents, ne?
- loeg 9y agoProcess descriptors are unfortunately a little incomplete -- pdwait() was never implemented. They don't seem to be getting much use.
- crest 9y agoYou don't need pdwait(). You can watch the process descriptor with kqueue to get the process exit status look for EVFILT_PROCDESC in https://www.freebsd.org/cgi/man.cgi?kevent https://www.freebsd.org/cgi/man.cgi?kevent.