µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os-sched.h File Reference

Go to the source code of this file.

Classes

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

Namespaces

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

Functions

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