µ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-sched.h File Reference

Go to the source code of this file.

Classes

class  os::rtos::interrupts::critical_section
 Interrupts critical section RAII helper. More...
 
class  os::rtos::scheduler::critical_section
 Scheduler critical section RAII helper. More...
 
class  os::rtos::interrupts::lockable
 Interrupts standard locker. More...
 
class  os::rtos::scheduler::lockable
 Scheduler standard locker. More...
 
class  os::rtos::interrupts::uncritical_section
 Interrupts critical section RAII helper. More...
 
class  os::rtos::scheduler::uncritical_section
 Scheduler uncritical section RAII helper. More...
 

Namespaces

 os
 System namespace.
 
 os::rtos
 RTOS namespace.
 
 os::rtos::interrupts
 Interrupts namespace.
 
 os::rtos::scheduler
 Scheduler namespace.
 
 os::rtos::scheduler::statistics
 Scheduler statistics.
 

Functions

rtos::statistics::counter_t os::rtos::scheduler::statistics::context_switches (void)
 Get the total number of context switches. More...
 
rtos::statistics::duration_t os::rtos::scheduler::statistics::cpu_cycles (void)
 Get the total duration of all threads. More...
 
bool os::rtos::interrupts::in_handler_mode (void)
 Check if the CPU is in handler mode. More...
 
result_t os::rtos::scheduler::initialize (void)
 Initialise the RTOS scheduler. More...
 
state_t os::rtos::scheduler::lock (void)
 Lock the scheduler. More...
 
state_t os::rtos::scheduler::locked (state_t state)
 Lock/unlock the scheduler. More...
 
bool os::rtos::scheduler::locked (void)
 Check if the scheduler is locked. More...
 
bool os::rtos::scheduler::preemptive (void)
 Check if the scheduler is in preemptive mode. More...
 
bool os::rtos::scheduler::preemptive (bool state)
 Set the scheduler preemptive mode. More...
 
void os::rtos::scheduler::start (void)
 Start the RTOS scheduler. More...
 
bool os::rtos::scheduler::started (void)
 Check if the scheduler was started. More...
 
state_t os::rtos::scheduler::unlock (void)
 Unlock the scheduler. More...