lock

    Acquire the lock.

    lock.swift:76

    This declaration has been renamed to NIOLock.

    This declaration is deprecated.

    func lock()

    Whenever possible, consider using withLock instead of this method and unlock, to simplify lock handling.

    Other members in extension

    Type members

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces