• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Background Process?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Background Process?
      • From: Michael Ash <email@hidden>
    • Re: Background Process?
      • From: Chris Suter <email@hidden>
References: 
 >Background Process? (From: Pierce Freeman <email@hidden>)
 >Re: Background Process? (From: Daniel Richman <email@hidden>)
 >Re: Background Process? (From: Kyle Sluder <email@hidden>)
 >Re: Background Process? (From: Roland King <email@hidden>)
 >Re: Background Process? (From: Kyle Sluder <email@hidden>)
 >Re: Background Process? (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Background Process?
  • Next by Date: Re: Background Process?
  • Previous by thread: Re: Background Process?
  • Next by thread: Re: Background Process?
  • Index(es):
    • Date
    • Thread