.TH "std::mutex" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::mutex \- The standard mutex type\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits std::__mutex_base\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef __native_type * \fBnative_handle_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBmutex\fP (const \fBmutex\fP &)=delete" .br .ti -1c .RI "void \fBlock\fP ()" .br .ti -1c .RI "native_handle_type \fBnative_handle\fP () noexcept" .br .ti -1c .RI "\fBmutex\fP & \fBoperator=\fP (const \fBmutex\fP &)=delete" .br .ti -1c .RI "bool \fBtry_lock\fP () noexcept" .br .ti -1c .RI "void \fBunlock\fP ()" .br .in -1c .SH "Detailed Description" .PP The standard mutex type\&. .PP Definition at line \fB83\fP of file \fBstd_mutex\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "typedef __native_type* std::mutex::native_handle_type" .PP Definition at line \fB86\fP of file \fBstd_mutex\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "void std::mutex::lock ()\fC [inline]\fP" .PP Definition at line \fB98\fP of file \fBstd_mutex\&.h\fP\&. .SS "native_handle_type std::mutex::native_handle ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB122\fP of file \fBstd_mutex\&.h\fP\&. .SS "bool std::mutex::try_lock ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB108\fP of file \fBstd_mutex\&.h\fP\&. .SS "void std::mutex::unlock ()\fC [inline]\fP" .PP Definition at line \fB115\fP of file \fBstd_mutex\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.