kqueue/kevent: EVFILT_PROC, EVFILT_VNODE
kqueue/kevent: EVFILT_PROC, EVFILT_VNODE
- Subject: kqueue/kevent: EVFILT_PROC, EVFILT_VNODE
- From: Jim Correia <email@hidden>
- Date: Tue, 13 Feb 2007 09:11:27 -0500
I'm using a kqueue and kevent to watch for process exit via
EV_SET(&ev, pid, EVFILT_PROC, (EV_ADD | EV_ENABLE), NOTE_EXIT, 0,
user_data);
Do I have to do anything explicit to cleanup after I receive the
event that the process has exited?
Also, for the man page says "Calling close() on a file descriptor
will remove any kevents that reference the descriptor." Do I have to
do anything explicit to cleanup when watching a descriptor with
EVFILT_VNODE besides close that descriptor?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden