µ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::rtos::port::this_thread Namespace Reference

Functions

void prepare_suspend (void)
 
void yield (void)
 Yield the CPU to the next ready thread. More...
 

Function Documentation

◆ prepare_suspend()

void os::rtos::port::this_thread::prepare_suspend ( void  )

◆ yield()

void os::rtos::port::this_thread::yield ( void  )
inlinenoexcept

Yield the CPU to the next ready thread.

Yield the CPU to the next ready thread.

Parameters
None.
Returns
Nothing.

Pass control to next thread that is in READY state.

Warning
Cannot be invoked from Interrupt Service Routines.

Definition at line 396 of file thread_internal.h.