Re: Background Process?
Re: Background Process?
- Subject: Re: Background Process?
- From: Darren Minifie <email@hidden>
- Date: Tue, 10 Mar 2009 20:28:10 -0700
Can't somebody write a small app and and profile it to get a conclusive
answer? I'd do it but I'm lazy. I am interested in the outcome though.
On Tue, Mar 10, 2009 at 7:52 PM, Chris Suter <email@hidden> wrote:
> 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
>
--
Darren Minifie
Graduate Studies: Computer Science
www.myavalon.ca
www.ohsnapmusic.com
_______________________________________________
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