libstdc++
std_mutex.h File Reference

Go to the source code of this file.

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

Namespaces

namespace  std

Functions

template<typename _Mutex >
void std::swap (unique_lock< _Mutex > &__x, unique_lock< _Mutex > &__y) noexcept

Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <mutex>.

Definition in file std_mutex.h.