|
libstdc++
|
Classes | |
| struct | std::adopt_lock_t |
| Assume the calling thread has already obtained mutex ownership and manage it. More... | |
| struct | std::defer_lock_t |
| Do not acquire ownership of the mutex. More... | |
| class | std::lock_guard< _Mutex > |
| Tag used to prevent a scoped lock from acquiring ownership of a mutex. More... | |
| class | std::mutex |
| The standard mutex type. More... | |
| struct | std::try_to_lock_t |
| Try to acquire ownership of the mutex without blocking. More... | |
| class | std::unique_lock< _Mutex > |
| A movable scoped lock type. More... | |
Functions | |
| template<typename _Mutex > | |
| void | std::swap (unique_lock< _Mutex > &__x, unique_lock< _Mutex > &__y) noexcept |
| template<typename _Mutex > | |
| void | std::swap (shared_lock< _Mutex > &__x, shared_lock< _Mutex > &__y) noexcept |
| #define | __cpp_lib_shared_timed_mutex |
Classes for mutex support.
| #define __cpp_lib_shared_timed_mutex |
Swap specialization for shared_lock.
Definition at line 59 of file shared_mutex.
| void std::swap | ( | unique_lock< _Mutex > & | __x, |
| unique_lock< _Mutex > & | __y | ||
| ) | [inline] |
Swap overload for unique_lock objects.
Definition at line 363 of file std_mutex.h.
| void std::swap | ( | shared_lock< _Mutex > & | __x, |
| shared_lock< _Mutex > & | __y | ||
| ) |
Swap specialization for shared_lock.
Definition at line 675 of file shared_mutex.