Skip navigation.
 
mlRe: Drawing from secondary thread erases resize corner in window?
FROM : Hank Heijink
DATE : Thu Feb 28 22:18:22 2008

On Feb 28, 2008, at 2:56 PM, Nate Weaver wrote:

>> Interesting... I hadn't thought of that. Don't I have to add 
>> another timer to the NSDefaultRunLoopMode though? If I have to 
>> chose between having two timers on the main thread that alternate, 
>> or one on a secondary thread, I think I'll go with the extra thread.

>
> I don't believe so; I've used it in an app of my own with a single 
> timer to avoid the same issue you're having, with no apparent ill 
> effects.



That's not my experience. If I just add a timer for the 
NSEventTrackingRunLoopMode, the only time that timer fires is when the 
run loop is in event tracking mode, which is what I would expect. In 
the NSDefaultRunLoopMode, that timer doesn't fire at all. Are you 
doing something somewhere else to make this happen, or am I missing 
something?

Thanks,
Hank

Hank Heijink
hank.<email_removed>