Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kqueue/kevent project



On Sun, Mar 10, 2002 at 03:13:37PM -0500, Jim Magee wrote:
> The kqueue work is certainly something we have talked about at some
> length inside Apple. We certainly would want to include it in a future
> version.
>
> However, Its implementation must play nice with the current waitevent
> (mostly undocumented), select, and mach portset implementations. These
> all are (now) based on the underlying Mach wait_queue mechanism - but
> the glue to cross-bind them is still in the works. The eventual goal of
> this unification is to have a choice in wait mechanisms for all kinds of
> events. Either CFRunLoop (i.e. mach portset) based mechanisms or
> kqueue/waitevent mechanisms could be used to wait on a particular event.
>
> This has to be at the choosing of the application programmer, not the
> socket/message-queue implementer's choosing). That way, programmers
> don't have to spin extra threads just to wait for events which might
> just happen to be implemented with a different mechanism today.

I understand. My motivation is twofold, first of all I would like to
learn more about doing this kind of work. But I definetely also want to
submit code that is actually going to be used.

Today I've learned how system calls work, how argument passing is done
and how to copyin/out data. I already have added the two new function
to both the kernel and libc. So for me that's good progress :) I'll
just continue with this project and along the way figure out how the
current alternatives work.

Would you accept a proposal for an underlying API or changes in the
current architecture that can support all event related mechanisms?
Or is that something that is already being worked on?

About doing Darwin work in general:

I'm interested in taking on a kernel related project that I can spend
some reasonable amount of time on. Maybe this is not the correct thing,
and I wouldn't mind. But if there is a list of other things, todos or
some interesting research available than I would really appreciate a
copy of that ;) I'm sure there are a lot more people here on the list
who are interested in that. It's also good for the open source
mindset.

Regards,

Stefan
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >kqueue/kevent project (From: Stefan Arentz <email@hidden>)
 >Re: kqueue/kevent project (From: Jim Magee <email@hidden>)



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.