unlock(withCondition:)
Relinquishes the lock and sets the receiver’s condition.
Declaration
func unlock(withCondition condition: Int)Parameters
- condition:
The user-defined condition for the lock. The value of
conditionis user-defined; see the class description for more information.