What happens with timers and slow functions?
What happens with timers and slow functions?
- Subject: What happens with timers and slow functions?
- From: Jonathan del Strother <email@hidden>
- Date: Sun, 21 Dec 2003 12:35:01 +0000
I'm using an NSTimer to control physics / graphics updates to a
simulation.
What happens if the function that the timer calls takes longer to
execute than the timer's interval?
Will the timeout be ignored? Is the function call queued up somewhere,
so that even if I kill the timer, I'll receive a bunch of timeouts
while the queue empties? Or is the function call made straight away,
so it's running simultaneously to any previous function calls?
Thanks,
Jon
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.