#include <modm/processing/fiber/scheduler.hpp>
|  | 
| static constexpr unsigned int | hardware_concurrency () | 
|  | 
| static void | run (Options options=Options (0)) | 
|  | Runs the currently active scheduler. 
 | 
|  | 
|  | 
| static Scheduler & | instance () | 
|  | Returns the currently active scheduler. 
 | 
|  | 
The scheduler executes fibers in a simple round-robin fashion. Fibers can be added to a scheduler using the modm::fiber::Task::start() function, also while the scheduler is running. Fibers returning from their function will automatically unschedule themselves. 
Scheduling options. 
| Enum Values | Documentation | 
|---|
| AutoWatermark | On every fiber start, watermark the fiber stack.  | 
 
 
The documentation for this class was generated from the following file: