libstdc++
std::mutex Class Reference

#include <std_mutex.h>

Inherits std::__mutex_base.

Public Types

typedef __native_type * native_handle_type
 

Public Member Functions

 mutex (const mutex &)=delete
 
void lock ()
 
native_handle_type native_handle () noexcept
 
mutexoperator= (const mutex &)=delete
 
bool try_lock () noexcept
 
void unlock ()
 

Detailed Description

The standard mutex type.

Definition at line 83 of file std_mutex.h.

Member Typedef Documentation

◆ native_handle_type

typedef __native_type* std::mutex::native_handle_type

Definition at line 86 of file std_mutex.h.

Member Function Documentation

◆ lock()

void std::mutex::lock ( )
inline

Definition at line 98 of file std_mutex.h.

◆ native_handle()

native_handle_type std::mutex::native_handle ( )
inlinenoexcept

Definition at line 122 of file std_mutex.h.

◆ try_lock()

bool std::mutex::try_lock ( )
inlinenoexcept

Definition at line 108 of file std_mutex.h.

◆ unlock()

void std::mutex::unlock ( )
inline

Definition at line 115 of file std_mutex.h.


The documentation for this class was generated from the following file: