Contents

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 condition is user-defined; see the class description for more information.

See Also

Acquiring and Releasing a Lock