Re: kqueue and kevent
Re: kqueue and kevent
- Subject: Re: kqueue and kevent
- From: Dave Keck <email@hidden>
- Date: Sun, 13 Mar 2011 12:15:49 -0700
> I have used kqueue and kevents for event triggering. However i am not sure
> if it is possible to send events to a kqueue? Googling didnt helped. I was
> thinking as its "kernel" que and kernel notifies. Does it mean that users
> can not send events
> to a queue other than signals?
The kernel is the only entity that can generate events. You can easily
cause an event to be generated though by, for example, writing to a
pipe for which the respective read end has a EVFILT_READ filter
monitoring it.
BTW, this question is better suited for darwin-dev.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden