Re: NSTimer firedate randomly changes
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