Attempts to acquire a lock if the receiver’s condition is equal to the specified condition.
Original signature is '- (BOOL)tryLockWhenCondition:(NSInteger)condition'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- condition (NSInteger)
- MISSING
Return Value
YES if the lock could be acquired, NO otherwise.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)