On Wed, Nov 17, 2010 at 1:54 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:
> On Wed, Nov 17, 2010 at 1:54 PM, Greg Parker <gpar...@apple.com> wrote:
>
>> On Nov 17, 2010, at 1:35 PM, Kyle Sluder wrote:
>> > That's not how timers work. They only fire if something wakes the runloop
>> > after their time has expired. Usually this is an event.
>>
>> Not true. A timer may fire some time after its fire date for any number of
>> reasons, but "no event to wake the run loop" is not one of them. If the run
>> loop is idle (and in the right run loop mode, and not stopped, etc), then a
>> timer's expiration is itself sufficient to wake the run loop and call the
>> timer's code. No other event is necessary.
>>
>
> 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

What exactly do you see on the page that leads to your statement about timers?

-Shawn
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to