> From: John Polstra <[EMAIL PROTECTED]>
> Date: 1999-07-06 09:36:51 -0700
> To: [EMAIL PROTECTED]
> Subject: Re: poll() vs select()
> Cc: [EMAIL PROTECTED]
> In-reply-to: <[EMAIL PROTECTED]>
> Delivered-to: [EMAIL PROTECTED]
> X-Loop: FreeBSD.ORG
> Organization: Polstra & Co., Seattle, WA
>
> In article <[EMAIL PROTECTED]>,
> Archie Cobbs <[EMAIL PROTECTED]> wrote:
> >
> > A new, faster event notification system would be great. But
don't forget
> > to include *all* events, not just file descriptor
readability/writability.
>
> Yes! Yes! Yes! (I agree.)
To add to the confusion, we've implemented something very similar
for Mac OS X Server, designed to be a replacement for select(), and
for use in a similar way to select's use in existing code. You can
see it in the Darwin code. Check out "sys/ev.h" for a typically
terse description of the API. In the released Darwin source, the
code deals only with sockets.
The Darwin release that deals with Mac OS X (possibly by fall)
should have a more involved design that deals with a number of
different kinds of events, including Mach messages (not a big deal
for this group, of course).
See www.publicsource.apple.com and follow the links to Darwin OS.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics |
Manager, CoreOS Networking | Men are from Earth.
Apple Computer, Inc. | Women are from Earth.
2 Infinite Loop | Deal with it.
Cupertino, CA 95014 |
*-------------------------------------*-------------------------------*
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message