|
| thread::id | this_thread::get_id () noexcept |
| | Return the id of the current running thread.
|
| |
| bool | operator!= (thread::id x, thread::id y) noexcept |
| |
| bool | operator< (thread::id x, thread::id y) noexcept |
| |
| bool | operator<= (thread::id x, thread::id y) noexcept |
| |
| bool | operator== (thread::id x, thread::id y) noexcept |
| |
| bool | operator> (thread::id x, thread::id y) noexcept |
| |
| bool | operator>= (thread::id x, thread::id y) noexcept |
| |
| template<typename Clock_T = os::estd::chrono::systick_clock, typename Rep_T , typename Period_T > |
| constexpr void | this_thread::sleep_for (const std::chrono::duration< Rep_T, Period_T > &rel_time) |
| | Sleep for a given duration.
|
| |
| template<typename Clock_T , typename Duration_T > |
| void | this_thread::sleep_until (const std::chrono::time_point< Clock_T, Duration_T > &abs_time) |
| | Sleep until a given time point.
|
| |
| template<typename Duration_T > |
| void | this_thread::sleep_until (const std::chrono::time_point< os::estd::chrono::realtime_clock, Duration_T > &abs_time) |
| |
| template<typename Duration_T > |
| void | this_thread::sleep_until (const std::chrono::time_point< os::estd::chrono::systick_clock, Duration_T > &abs_time) |
| |
| void | swap (thread &x, thread &y) noexcept |
| |
| void | this_thread::yield () noexcept |
| | Yield the CPU to the next ready thread.
|
| |