Hi Kyle,

On Wed, Mar 11, 2009 at 5:02 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:

> Well, there is a sentence directly below that list that says the following:
>
> "Because timers and other periodic events are delivered when you run
> the run loop, circumventing that loop disrupts the delivery of those
> events."
>
> That sentence implies that the run loop must be run, either manually
> or as the result of input coming in on an input source (which timers
> are not), in order for the timer to fire.

Obviously, the run loop has to run, but you don't need events to be
received or processed for the timer to fire. You need at least one
event source, possibly a dummy one, but it doesn't have to do anything
and so the CPU usage whilst waiting for the timer to fire will be
zero.

Regards,

Chris
_______________________________________________

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