Re: setNeedsDisplay broken in Tiger
Re: setNeedsDisplay broken in Tiger
- Subject: Re: setNeedsDisplay broken in Tiger
- From: Troy Stephens <email@hidden>
- Date: Tue, 24 May 2005 13:01:12 -0700
On May 24, 2005, at 11:32 AM, Troy Stephens wrote: As Bob Ippolito pointed out, messaging views from a secondary thread is in general not thread-safe and therefore not a recommended practice, on any version of Mac OS X.
To clarify a bit: There _are_ some aspects of view functionality that are OK to use in a multithreaded manner. For example, locking focus to draw in a view on a secondary thread is supported.
The -setNeedsDisplay: and -setNeedsDisplayInRect: operations, however, are not thread-safe, and should therefore always be performed on the application's main thread.
--
Troy Stephens Cocoa Frameworks Apple Computer, Inc.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden