On Tue, May 26, 2009 at 10:51 AM, Joar Wingfors <j...@joar.com> wrote: > Your comment is correct in general, but according to the thread safety > guidelines you're supposed to be able to create windows on background > threads: > > <http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.html#//apple_ref/doc/uid/10000057i-CH12-123364>
I love that section of the docs. It starts off saying that this activity is safe. And then it says, "There is some possibility that window objects may leak in an application that deals with a lot of windows concurrently." To me, the conclusion to draw from that is that it really isn't safe, no matter what Apple says about it. If something can go wrong if there's too much concurrency, it's not really thread safe! (Obviously a simple leak would not explain the problem the OP is seeing, though.) Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com