.TH "std::this_thread" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::this_thread \- ISO C++ 2011 namespace for interacting with the current thread\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "\fBthread::id\fP \fBget_id\fP () noexcept" .br .RI "The unique identifier of the current thread\&. " .ti -1c .RI "template<\fBtypename\fP _Rep , \fBtypename\fP \fB_Period\fP > \fBvoid\fP \fBsleep_for\fP (const \fBchrono::duration\fP< _Rep, \fB_Period\fP > &\fB__rtime\fP)" .br .RI "this_thread::sleep_for " .ti -1c .RI "template<\fBtypename\fP \fB_Clock\fP , \fBtypename\fP \fB_Duration\fP > \fBvoid\fP \fBsleep_until\fP (const \fBchrono::time_point\fP< \fB_Clock\fP, \fB_Duration\fP > &\fB__atime\fP)" .br .RI "this_thread::sleep_until " .ti -1c .RI "\fBvoid\fP \fByield\fP () noexcept" .br .RI "Allow the implementation to schedule a different thread\&. " .in -1c .SH "Detailed Description" .PP ISO C++ 2011 namespace for interacting with the current thread\&. C++11 30\&.3\&.2 [thread\&.thread\&.this] Namespace this_thread\&. .SH "Function Documentation" .PP .SS "\fBthread::id\fP std::this_thread::get_id ()\fC [inline]\fP, \fC [noexcept]\fP" .PP The unique identifier of the current thread\&. .SS "template<\fBtypename\fP _Rep , \fBtypename\fP \fB_Period\fP > \fBvoid\fP std::this_thread::sleep_for (const \fBchrono::duration\fP< _Rep, \fB_Period\fP > & __rtime)\fC [inline]\fP" .PP this_thread::sleep_for .PP Referenced by \fBsleep_until()\fP\&. .SS "template<\fBtypename\fP \fB_Clock\fP , \fBtypename\fP \fB_Duration\fP > \fBvoid\fP std::this_thread::sleep_until (const \fBchrono::time_point\fP< \fB_Clock\fP, \fB_Duration\fP > & __atime)\fC [inline]\fP" .PP this_thread::sleep_until .PP References \fBsleep_for()\fP\&. .SS "\fBvoid\fP std::this_thread::yield ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Allow the implementation to schedule a different thread\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.