Re: Threading synchronization: does a primitive exists?
Re: Threading synchronization: does a primitive exists?
- Subject: Re: Threading synchronization: does a primitive exists?
- From: Ken Thomases <email@hidden>
- Date: Sat, 07 May 2011 21:50:22 -0500
On May 7, 2011, at 6:00 PM, Chris Hanson wrote:
> The thing to remember about NSConditionLock is that it's a lock that can only be acquired when it's in the specified condition.
That sentence is a bit confusing. It can be read two ways, one of which is correct, the other incorrect.
If one chooses, one can request to lock an NSConditionLock only when it's in a specified condition. However, one can also unconditionally lock it, too.
Regards,
Ken
_______________________________________________
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