Linux & Unix Commands - Search Man Pages
std::this_thread(3cxx) [debian man page]
std::this_thread(3cxx) std::this_thread(3cxx)
NAME
std::this_thread -
SYNOPSIS
Functions
thread::id get_id ()
template<typename _Rep , typename _Period > void sleep_for (const chrono::duration< _Rep, _Period > &__rtime)
template<typename _Clock , typename _Duration > void sleep_until (const chrono::time_point< _Clock, _Duration > &__atime)
void yield ()
Detailed Description
ISO C++ 0x entities sub namespace for thread. 30.2.2 Namespace this_thread.
Function Documentation
thread::id std::this_thread::get_id () [inline]
get_id
Definition at line 253 of file thread.
template<typename _Rep , typename _Period > void std::this_thread::sleep_for (const chrono::duration< _Rep, _Period > &__rtime) [inline]
sleep_for
Definition at line 272 of file thread.
References std::chrono::duration_cast().
Referenced by sleep_until().
template<typename _Clock , typename _Duration > void std::this_thread::sleep_until (const chrono::time_point< _Clock, _Duration > &__atime)
[inline]
sleep_until
Definition at line 266 of file thread.
References sleep_for().
void std::this_thread::yield () [inline]
yield
Definition at line 258 of file thread.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::this_thread(3cxx)
Check Out this Related Man Page
std::condition_variable_any(3cxx) std::condition_variable_any(3cxx)
NAME
std::condition_variable_any -
SYNOPSIS
Public Types
typedef
condition_variable::native_handle_type native_handle_type"
Public Member Functions
condition_variable_any (const condition_variable_any &)
native_handle_type native_handle ()
void notify_all ()
void notify_one ()
condition_variable_any & operator= (const condition_variable_any &)
template<typename _Lock > void wait (_Lock &__lock)
template<typename _Lock , typename _Predicate > void wait (_Lock &__lock, _Predicate __p)
template<typename _Lock , typename _Rep , typename _Period > cv_status wait_for (_Lock &__lock, const chrono::duration< _Rep, _Period >
&__rtime)
template<typename _Lock , typename _Rep , typename _Period , typename _Predicate > bool wait_for (_Lock &__lock, const chrono::duration<
_Rep, _Period > &__rtime, _Predicate __p)
template<typename _Lock , typename _Clock , typename _Duration > cv_status wait_until (_Lock &__lock, const chrono::time_point< _Clock,
_Duration > &__atime)
template<typename _Lock , typename _Clock , typename _Duration , typename _Predicate > bool wait_until (_Lock &__lock, const
chrono::time_point< _Clock, _Duration > &__atime, _Predicate __p)
Detailed Description
condition_variable_any
Definition at line 168 of file condition_variable.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::condition_variable_any(3cxx)
Man Page