Re: Drawing from secondary thread erases resize corner in window? [solved, for now]
Re: Drawing from secondary thread erases resize corner in window? [solved, for now]
- Subject: Re: Drawing from secondary thread erases resize corner in window? [solved, for now]
- From: Hank Heijink <email@hidden>
- Date: Thu, 28 Feb 2008 14:49:26 -0500
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.
Thanks,
Hank
Hank Heijink
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden