Blocking mutex — sleep/wake mutual exclusion.
More...
|
|
auto | is_locked () const noexcept -> bool |
| | Non-deterministic snapshot: true if the mutex appears held.
|
|
auto | lock () noexcept -> void |
| | Acquire the mutex, blocking if contended.
|
|
| mutex (const mutex &)=delete |
|
| mutex (mutex &&)=delete |
|
auto | operator= (const mutex &)=delete |
|
auto | operator= (mutex &&)=delete |
|
auto | try_lock () noexcept -> bool |
| | Try to acquire the mutex without blocking.
|
|
auto | unlock () noexcept -> void |
| | Release the mutex and wake the first waiter, if any.
|
Blocking mutex — sleep/wake mutual exclusion.
The documentation for this class was generated from the following files:
- zxfoundation/sync/mutex.zcomponent/core.cxxm
- zxfoundation/sync/mutex.zcomponent/core.cxx