site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dave, 1) Add more than one event at a time. 2) Get more than one event at a time. 3) Add and get events in the same call to kevent(). Regards, John Falling You - exploring the beauty of voice and sound http://www.fallingyou.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Please read the man page again. Please note the long standing Unix tradition of returning -1 on failure. I doubt your code is handling that correctly. Yes, I caught that as well a bit ago and changed the code. I do appreciate the help, though -- I want to really understand this, and you've provided some good insight that helps me in those endeavors. Also, please note: Unless you like pain, please don't do the following: Those cases, while powerful, are also riddled with complications of use that are far beyond the scope of this e-mail thread. Trust me, you can write very efficient/fast code without using those cases. I only add one event at a time, though I do currently get more than 1. I don't want to add anymore noise to this list, so do you know of a good reference that describes kqueues really well (among other things i'm sure)? Perhaps some reference that describes /dev/poll as well on Linux, and (one can hope, because I want to test this as well) modwatch()? This email sent to site_archiver@lists.apple.com
participants (1)
-
jmzorko@mac.com