Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
- Subject: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
- From: Scott Ribe <email@hidden>
- Date: Wed, 14 Mar 2012 14:14:44 -0600
On Mar 14, 2012, at 2:08 PM, JongAm Park wrote:
> Because, as you said, there can be some situation where it is a lot easier and better to allow accessing GUI widgets from any threads,
The problem of course, is that in order to allow that, the framework itself has to be locking things all over the place, regardless of whether or not an app is actually accessing any particular data from multiple threads, because now the framework has to assume that might happen.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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