On Sep 29, 2011, at 3:06 PM, Tom Hohensee wrote:

> Yes.  What I have worked on is using an array of timers fired sequentially.  
> Each firing of the timer sets up the next one in the array.  Each new 
> addition to the array requires invalidating of the active timer and 
> reordering of the array according to times.   But i have run into problems 
> when two or more timers are set to fire at the same time. 

What you’re describing sounds like the work that the runloop performs 
internally to manage multiple active timers. Why not let the runloop do the 
work for you? Just start up all the timers in parallel and wait for them to 
fire.

—Jens_______________________________________________

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