Re: Yielding an NSThread-started thread
Re: Yielding an NSThread-started thread
- Subject: Re: Yielding an NSThread-started thread
- From: Chris Suter <email@hidden>
- Date: Wed, 22 Nov 2006 14:07:49 +1100
Does that mean that [myLock lockWhenCondition:0] yields if the lock is
not available (while it's checking)?
Yes.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
Classes/NSConditionLock_Class/Reference/Reference.html#//apple_ref/
occ/instm/NSConditionLock/lockWhenCondition:
The term "blocking" generally means the thread will consume no CPU
resource whilst it waits.
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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