• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
kqueue/kevent: EVFILT_PROC, EVFILT_VNODE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: LACP implementation in MAC OS X 10.4-dlil replacement
  • Next by Date: CF-Lite question.
  • Previous by thread: LACP implementation in MAC OS X 10.4-dlil replacement
  • Next by thread: CF-Lite question.
  • Index(es):
    • Date
    • Thread