Attempts to acquire a lock and immediately returns a Boolean value that indicates whether the attempt was successful.
Original signature is '- (BOOL)tryLock'
Available in Mac OS X v10.0 and later.


- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)