> From: John Polstra <j...@polstra.com>
> Date: 1999-07-06 09:36:51 -0700
> To: arc...@whistle.com
> Subject: Re: poll() vs select()
> Cc: hack...@freebsd.org
> In-reply-to: <199907050103.saa51...@bubba.whistle.com>
> Delivered-to: freebsd-hackers@freebsd.org
> X-Loop: FreeBSD.ORG
> Organization: Polstra & Co., Seattle, WA
>
> In article <199907050103.saa51...@bubba.whistle.com>,
> Archie Cobbs  <arc...@whistle.com> 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 majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to