Hi Kyle,

On Wed, Mar 11, 2009 at 1:19 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:

> While NSTimers are not normal input sources, the frameworks are free
> to add any input source to the runloop that they wish.  And in order
> for your timer to fire, you need to keep the runloop awake, using at
> least a dummy input source.  See "Timers" in "Timer Programming Topics
> for Cocoa":

Whilst the run loop has to have a regular input source in it, I don't
think it needs to be processing any events. It's my understanding that
timers will still fire even if nothing else is happening.

I think the documentation is merely pointing out that if you're doing
other work, such as what might be occurring in a normal application, a
timer might be delayed by a few ms or more.

Regards,

Chris
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to