Attempts to acquire a lock before a given time and returns a Boolean value indicating whether the attempt was successful.
Original signature is '- (BOOL)lockBeforeDate:(NSDate *)limit'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- limit (NSDate)
- The time limit for attempting to acquire a lock.
Return Value
YES if the lock is acquired before limit, otherwise NO.
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)