|
|
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.
|