LockableBySemaphore

public protocol LockableBySemaphore : Lockable

Undocumented

  • Undocumented

    Declaration

    Swift

    var semaphore: DispatchSemaphore { get }
  • lock() Extension method

    Lock the object.

    Declaration

    Swift

    public func lock() -> Bool
  • unlock() Extension method

    Unlock the object.

    Declaration

    Swift

    public func unlock() -> Bool