UNISTDX_BASE_RECURSIVE_SPIN_MUTEX
class sys::recursive_spin_mutex

Spin mutex that can be lock multiple times by the same thread.

Base classes
Methods
  • recursive_spin_mutex()

    Construct recursive spin mutex.

  • try_lock() -> bool

    Try to lock the mutex without blocking.

  • unlock() -> void

    Unlock the mutex.

  • lock() -> void

    Lock the mutex.