• 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: 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

  • Follow-Ups:
    • Re: Background Process?
      • From: Darren Minifie <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>)

  • Prev by Date: Odd interaction of NSTrackingArea behaviour with drag and drop
  • Next by Date: Re: Background Process?
  • Previous by thread: Re: Background Process?
  • Next by thread: Re: Background Process?
  • Index(es):
    • Date
    • Thread