Re: Making a Window Class Invocable from Any Thread
Re: Making a Window Class Invocable from Any Thread
- Subject: Re: Making a Window Class Invocable from Any Thread
- From: Jerry Krinock <email@hidden>
- Date: Wed, 5 Nov 2008 05:35:43 -0800
On 2008 Nov, 04, at 22:29, Chris Hanson wrote:
I'd actually caution you against this. Keep your processing
distinct from your user interface, don't mix the two. Use some form
of intermediate "status" object to pass information back to your
main thread for presentation to the user, rather than trying to
interact with the user from multiple threads at once.
OK, I'm going to read through the whole Threading Programming Guide
again, with this in mind. Maybe another way of stating Chris' advice
is: Don't forget the "C" in "MVC"?
If anyone has knows of any other resources further explaining this
approach, I'd like to know about them.
Thanks all,
Jerry
_______________________________________________
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