Re: Asynchronous timers (without a run loop)
Re: Asynchronous timers (without a run loop)
- Subject: Re: Asynchronous timers (without a run loop)
- From: "Påhl Melin" <email@hidden>
- Date: Fri, 5 Dec 2008 21:07:09 +0100
2008/12/5 Joseph Kelly <email@hidden>:
> From everything you've said, Påhl, you can very easily implement it using a
> combination of Cocoa and Core Foundation. I posted a response yesterday
> which you might want to look at.
Thanks Joseph. I looked at your source more closely and I think I get
the idea how to use Core Foundation to run the timers in a separate
thread with a CFRunLoop. It looks quite straightforward. I really
appreciate the sample code. It's makes it so much easier than just
reading the reference material on ADC.
It's come down to a choice between kernel queue's kevent() timers and
CFRunLoopTimers on a separate thread. I'll have to do some test this
weekend...
/ Påhl
_______________________________________________
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