I've got an app that handles keyboard input (-keyDown:) and has a
repeating timer that causes the runloop to call repeatedly a method in
my app (called timerFireMethod:).
Could it happen that keyDown: and timerFireMethod: are running at the
same time?
In other words: does the runloop
On Sep 29, 2009, at 2:09 PM, Gabriel Zachmann wrote:
I've got an app that handles keyboard input (-keyDown:) and has a
repeating timer that causes the runloop to call repeatedly a method
in my app (called timerFireMethod:).
Could it happen that keyDown: and timerFireMethod: are running at
On 29 Sep 2009, at 22:30, Wim Lewis wrote:
And what about two timers, i.e., what happens, if one of them fires
while the method associated with the other one is till executing?
It won't be able to fire until control returns to the runloop in
some way.
Which is why NSTime only guarantees