Instance Method

unlock

Relinquishes the receiver.

Declaration

- (void)unlock;

Discussion

You should generally use the unlock method rather than breakLock to release a lock.

An NSGenericException is raised if the receiver doesn’t already exist.

See Also

Relinquishing a Lock

- breakLock

Forces the lock to be relinquished.