NIOLock

    A threading lock based on libpthread instead of libdispatch.

    NIOLock.swift:185
    struct NIOLock

    This object provides a lock on top of a single pthread_mutex_t. This kind of lock is safe to use with libpthread-based threading models, such as the one used by NIO. On Windows, the lock is based on the substantially similar SRWLOCK type.

    Citizens in SwiftGodot

    Conformances

    • protocol Sendable

      A type whose values can safely be passed across concurrency domains by copying.

    Type members

    Instance members