@ac-essentials/misc-util
    Preparing search index...

    Class Mutex

    A mutex is a synchronization primitive that can be used to protect shared resources from concurrent access. It is similar to a semaphore with a value of 1.

    A mutex has two states: locked and unlocked. When a mutex is locked, other I/O operations that attempt to lock the mutex will wait until the mutex is unlocked. When a mutex is unlocked, it can be locked by an I/O operation.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods