µ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++.
os-thread.h File Reference

Go to the source code of this file.

Classes

class  os::rtos::thread::attributes
 Thread attributes. More...
 
class  os::rtos::thread::context
 Thread context. More...
 
struct  os::rtos::thread::priority
 Thread priorities. More...
 
class  os::rtos::thread::stack
 Thread stack. More...
 
struct  os::rtos::thread::state
 Thread states. More...
 
class  os::rtos::thread::statistics
 Thread statistics. More...
 
class  os::rtos::thread
 POSIX compliant thread, using the default RTOS allocator. More...
 
class  os::rtos::thread_allocated< Allocator >
 Template of a POSIX compliant thread with allocator. More...
 
class  os::rtos::thread_inclusive< N >
 Template of a POSIX compliant thread with local stack. More...
 

Namespaces

 os
 System namespace.
 
 os::rtos
 RTOS namespace.
 
 os::rtos::scheduler
 Scheduler namespace.
 
 os::rtos::this_thread
 A convenience namespace to access the current running thread.
 

Functions

int * os::rtos::this_thread::__errno (void)
 Implementation of the library __errno() function. More...
 
void os::rtos::this_thread::exit (void *exit_ptr=nullptr)
 Terminate the current running thread. More...
 
result_t os::rtos::this_thread::flags_clear (flags::mask_t mask, flags::mask_t *oflags=nullptr)
 Clear thread event flags. More...
 
flags::mask_t os::rtos::this_thread::flags_get (flags::mask_t mask, flags::mode_t mode=flags::mode::all|flags::mode::clear)
 Get/clear thread event flags. More...
 
result_t os::rtos::this_thread::flags_timed_wait (flags::mask_t mask, clock::duration_t timeout, flags::mask_t *oflags=nullptr, flags::mode_t mode=flags::mode::all|flags::mode::clear)
 Timed wait for thread event flags. More...
 
result_t os::rtos::this_thread::flags_try_wait (flags::mask_t mask, flags::mask_t *oflags=nullptr, flags::mode_t mode=flags::mode::all|flags::mode::clear)
 Try to wait for thread event flags. More...
 
result_t os::rtos::this_thread::flags_wait (flags::mask_t mask, flags::mask_t *oflags=nullptr, flags::mode_t mode=flags::mode::all|flags::mode::clear)
 Wait for thread event flags. More...
 
void os::rtos::this_thread::suspend (void)
 Suspend the current running thread to wait for an event. More...
 
threados::rtos::this_thread::thread (void)
 Get the current running thread. More...
 
void os::rtos::this_thread::yield (void)
 Yield execution to the next ready thread. More...