Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alert box locks up app.




On Mar 1, 2005, at 3:34 PM, Russ wrote:

 The StandardAlert stuff can't cope with that for some reason,
causing the lock-up.

Maybe because it's not thread safe? ;)

Very little of the GUI stack in carbon (or cocoa for that matter) is truly thread safe. GUI operations should always be done from the main thread. And ALL API usage on secondary threads should be verified as thread safe beforehand. It's a bad idea to make any assumptions about the thread safety of any given API. This is true on any platform with any framework.

Bryan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Alert box locks up app. (From: Russ <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.