std::mutex

Section: C Library Functions (3)
Updated: Wed Apr 17 2019
Page Index
 

NAME

std::mutex - The standard mutex type.

 

SYNOPSIS


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

mutex & operator= (const mutex &)=delete

bool try_lock () noexcept

void unlock ()
 

Private Types


typedef __gthread_mutex_t __native_type
 

Private Attributes


__native_type _M_mutex
 

Detailed Description

The standard mutex type.

Definition at line 86 of file std_mutex.h.

 

Author

Generated automatically by Doxygen for libstdc++ from the source code.


 

Index

NAME
SYNOPSIS
Public Types
Public Member Functions
Private Types
Private Attributes
Detailed Description
Author