Thread management and synchronization methods

Types

  • Luna::IMutex

    This\ type\ is\ thread\ safe. Represents a system-level mutex object.

  • Luna::MutexGuard

    A RAII wrapper for one mutex object that releases the mutex automatically when the wrapper is destructed.

  • Luna::IReadWriteLock

    Represents one system-level read write lock.

  • Luna::ISemaphore

    Represents one system-level semaphore object.

  • Luna::ISignal

    Represents a system-level signal object. This\ type\ is\ thread\ safe.

  • Luna::SpinLock

    Provides one spin lock that can give one thread exclusive access to one resource in multi-thread environments.

  • Luna::RecursiveSpinLock

    Similar to SpinLock, but allows the lock to be obtained mutable times from the same thread.

  • Luna::LockGuard

    The RAII wrapper that locks the specified lock upon construction, and unlocks the specified lock upon destruction.

  • Luna::IThread

    Represents a system thread object. This\ type\ is\ thread\ safe.

  • Luna::IWaitable

    Represents a waitable object used for multi-thread synchronization.

Enumerations

Functions