Re: Global in NSApplication
Re: Global in NSApplication
- Subject: Re: Global in NSApplication
- From: Scott Ribe <email@hidden>
- Date: Wed, 27 Jan 2010 14:51:35 -0700
- Thread-topic: Global in NSApplication
> Calling a singleton method from multiple threads does not make multiple
> instances.
The code you posted has a race condition, and can create multiple instances
when called from different threads.
--
Scott Ribe
email@hidden
http://www.killerbytes.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