| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Mon, Mar 11, 2002 at 08:50:05PM -0500, Jim Magee wrote:OHowever, the Mach equivalent does not work that way. It assures only
one handler thread per event, regardless of how many queues the event
source is a member of, sees the event. This, in turn, is actually
relied upon by Core Foundation's CFRunLoop() model (and all the higher
level event loops [Cocoa and Carbon] built on top of that). So, you can
guess, it's a pretty fundamental assumption in the way we do things
now. What I'm looking for are the places our expected semantics are the
same, and where they are different, so I know the requirements on the
common mechanisms that would sit below the knode level.
Hmm. I'm wondering if it really makes sense to combine the Mach and BSD
APIs in one. I think I can come with a clean solution on which both
waitevent, select and kevent() can be efficiently build and run but I
do not yet have a picture in my mind that also includes CFRunLoop().
Is the source code for the CFRunLoop available in Darwin?
| References: | |
| >Re: kqueue/kevent project (From: Stefan Arentz <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.