[Previous] [Up] [Next]

NSConditionLock

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSConditionLock

NSConditionLock

Declared in: Foundation/NSLock.h

Inherits from: NSObject

Conforms to: NSLocking



condition

- (int) condition

initWithCondition:

- (id) initWithCondition: (int)condition

lockBeforeDate:

- (BOOL) lockBeforeDate: (NSDate*)limit

lockWhenCondition:

- (void) lockWhenCondition: (int)condition

lockWhenCondition:beforeDate:

- (BOOL) lockWhenCondition: (int)condition beforeDate: (NSDate*)limit

tryLock

- (BOOL) tryLock

tryLockWhenCondition:

- (BOOL) tryLockWhenCondition: (int)condition

unlockWithCondition:

- (void) unlockWithCondition: (int)condition