Re: Synchronizing Thread Execution
Re: Synchronizing Thread Execution
- Subject: Re: Synchronizing Thread Execution
- From: Scott Ribe <email@hidden>
- Date: Mon, 04 Dec 2006 11:18:20 -0700
- Thread-topic: Synchronizing Thread Execution
> How then to solve this? Would I be better off with a condition lock?
> And how would I implement that?
@synchronized(someUniqueObject)
Allocate a single instance of something (anything, [[NSObject alloc] init]
would do) at startup in a global variable and synchronize on that.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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