Skip navigation.
 
mlRe: Drawing from secondary thread erases resize corner in window? [solved, for now]
FROM : Nate Weaver
DATE : Thu Feb 28 20:56:50 2008

On Feb 28, 2008, at 1:49 PM, Hank Heijink wrote:

>
> On Feb 28, 2008, at 1:46 PM, Nate Weaver wrote:
>

>>> You could also use [[NSRunLoop mainRunLoop] addTimer:yourTimer 
>>> forMode:NSEventTrackingRunLoopMode] and avoid another thread 
>>> altogether.
>>>

>
> 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.

Related mailsAuthorDate
mlRe: Drawing from secondary thread erases resize corner in window? [solved, for now] Nate Weaver Feb 28, 19:46
mlRe: Drawing from secondary thread erases resize corner in window? [solved, for now] Hank Heijink Feb 28, 20:49
mlRe: Drawing from secondary thread erases resize corner in window? [solved, for now] Nate Weaver Feb 28, 20:56
mlRe: Drawing from secondary thread erases resize corner in window? Hank Heijink Feb 28, 22:18
mlRe: Drawing from secondary thread erases resize corner in window? Nate Weaver Feb 28, 22:31
mlRe: Drawing from secondary thread erases resize corner in window? Hamish Allan Feb 28, 23:01
mlRe: Drawing from secondary thread erases resize corner in window? Ron Fleckner Feb 28, 23:16
mlRe: Drawing from secondary thread erases resize corner in window? Hank Heijink (Mail… Feb 29, 20:43