Re: Singletons and Threads
Re: Singletons and Threads
- Subject: Re: Singletons and Threads
- From: Keith Duncan <email@hidden>
- Date: Sun, 16 Sep 2007 13:22:23 +0100
If I recall correctly when using @synchronized() you should use a
*specific* object, not a variable such as self. I usually write my
singleton class methods to use [MySingletonClass class] as the
semaphore.
- Keith
_______________________________________________
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