Re: Background Process?
Re: Background Process?
- Subject: Re: Background Process?
- From: Chris Suter <email@hidden>
- Date: Wed, 11 Mar 2009 13:52:17 +1100
Hi Kyle,
On Wed, Mar 11, 2009 at 1:19 PM, Kyle Sluder <email@hidden> 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 (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