std::this_thread.3cxx

Langue: en

Autres versions - même langue

Version: 350105 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

std::this_thread -

ISO C++ 0x entities sub namespace for thread. 30.2.2 Namespace 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 239 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 258 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 252 of file thread.

References sleep_for().

void std::this_thread::yield () [inline]

yield

Definition at line 244 of file thread.

Author

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