Re: query regarding waitevent and modwatch
Re: query regarding waitevent and modwatch
- Subject: Re: query regarding waitevent and modwatch
- From: Quinn <email@hidden>
- Date: Fri, 5 May 2006 10:28:12 +0100
At 0:47 -0600 4/5/06, Puthali H.B wrote:
Can anybody please explain the waitevent / modwatch api's behavior in
the following scenario.
waitevent and modwatch are not APIs. They're not documented, and
don't appear in standard user space headers ("/usr/include"). There
isn't even any system call glue for them in libSystem, which means
that you have to roll your own system call glue (which is a
compatibility nightmare in and of itself).
These routines were created to improve the performance of certain
Apple servers (notably the AFP server) prior to the development of
kqueues. Now that kqueues are available, you should use them.
Sorry for the bad news.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden