• 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: NSTimer firedate randomly changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer firedate randomly changes


  • Subject: Re: NSTimer firedate randomly changes
  • From: Wim Lewis <email@hidden>
  • Date: Wed, 17 Nov 2010 14:03:25 -0800

On 17 Nov 2010, at 1:54 PM, Kyle Sluder wrote:
> Okay, that's two people who have corrected me on this now. What am I
> misinterpreting about this documentation:
>
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html

Which particular sentence are you (mis)interpreting?

The caveats about timers firing seem to be:
  - The timer won't fire if the run loop is currently called out to some other handler (processing some other event). This is reasonable, but might not be expected if someone's expecting timers to act more like signals or interrupts.
  - The timer won't fire if the run loop isn't running at all (no surprise).
  - The timer won't fire if it's scheduled in some mode that the run loop isn't running in.



_______________________________________________

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

References: 
 >NSTimer firedate randomly changes (From: Lorenzo Thurman <email@hidden>)
 >Re: NSTimer firedate randomly changes (From: Kyle Sluder <email@hidden>)
 >Re: NSTimer firedate randomly changes (From: Greg Parker <email@hidden>)
 >Re: NSTimer firedate randomly changes (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSTimer firedate randomly changes
  • Next by Date: Re: NSTimer firedate randomly changes
  • Previous by thread: Re: NSTimer firedate randomly changes
  • Next by thread: Re: NSTimer firedate randomly changes
  • Index(es):
    • Date
    • Thread