µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
thread_internal.h File Reference

Go to the source code of this file.

Classes

struct  hash< T >
 
class  thread::id
 Thread unique id. More...
 
class  thread
 Standard thread. More...
 

Namespaces

 this_thread
 A namespace for functions applying to the current thread.
 

Functions

thread::id this_thread::get_id () noexcept
 Return the id of the current running thread. More...
 
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. More...
 
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. More...
 
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. More...
 

Function Documentation

◆ operator!=()

bool operator!= ( thread::id  x,
thread::id  y 
)
inlinenoexcept

Definition at line 262 of file thread_internal.h.

◆ operator<()

bool operator< ( thread::id  x,
thread::id  y 
)
inlinenoexcept

Definition at line 268 of file thread_internal.h.

◆ operator<=()

bool operator<= ( thread::id  x,
thread::id  y 
)
inlinenoexcept

Definition at line 274 of file thread_internal.h.

◆ operator==()

bool operator== ( thread::id  x,
thread::id  y 
)
inlinenoexcept

Definition at line 256 of file thread_internal.h.

◆ operator>()

bool operator> ( thread::id  x,
thread::id  y 
)
inlinenoexcept

Definition at line 280 of file thread_internal.h.

◆ operator>=()

bool operator>= ( thread::id  x,
thread::id  y 
)
inlinenoexcept

Definition at line 286 of file thread_internal.h.

◆ swap()

void swap ( thread x,
thread y 
)
inlinenoexcept

Definition at line 250 of file thread_internal.h.