#include <iris/core/scheduler.h>
◆ block_current_task()
Block the currently running task on this scheduler.
- Parameters
-
before_yielding | Callback which is executed after updating the current task's state. |
- Returns
- Returns an error if the current task was interrupted by userspace, and otherwise returns success once the task is unblocked.
◆ current_address_space()
◆ current_task()
auto iris::Scheduler::current_task |
( |
| ) |
const -> Task& |
|
inline |
◆ current_task_null_if_during_boot()
auto iris::Scheduler::current_task_null_if_during_boot |
( |
| ) |
const -> Task* |
|
inline |
◆ exit_current_task()
void iris::Scheduler::exit_current_task |
( |
| ) |
|
◆ save_state_and_run_next()
◆ schedule_task()
void iris::Scheduler::schedule_task |
( |
Task & | task | ) |
|
◆ setup_idle_task()
void iris::Scheduler::setup_idle_task |
( |
| ) |
|
◆ start()
void iris::Scheduler::start |
( |
| ) |
|
◆ start_on_ap()
void iris::Scheduler::start_on_ap |
( |
| ) |
|
◆ yield()
void iris::Scheduler::yield |
( |
| ) |
|
The documentation for this class was generated from the following files: