9 releases
Uses new Rust 2024
| new 0.2.2-preview.3 | Feb 6, 2026 |
|---|---|
| 0.2.2-hv.5 | Feb 12, 2026 |
| 0.2.2-hv.4 | Feb 11, 2026 |
| 0.2.2-hv.3 | Feb 9, 2026 |
| 0.2.1-preview.1 | Feb 6, 2026 |
#365 in Algorithms
96 downloads per month
Used in 30 crates
(17 directly)
120KB
2.5K
SLoC
axtask
ArceOS task management module.
This module provides primitives for task management, including task creation, scheduling, sleeping, termination, etc. The scheduler algorithm is configurable by cargo features.
Features
multitask: Enable multi-task support with complex scheduling and more task-related APIs.irq: Enable timer-based APIs such assleep,sleep_until, andWaitQueue::wait_timeout.preempt: Enable preemptive scheduling.sched-fifo: Use the FIFO cooperative scheduler (enablesmultitask).sched-rr: Use the Round-robin preemptive scheduler (enablesmultitaskandpreempt).sched-cfs: Use the Completely Fair Scheduler (enablesmultitaskandpreempt).tls: Enable kernel space thread-local storage support.smp: Enable SMP (symmetric multiprocessing) support.
License
This project is licensed under GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0.
Dependencies
~7–11MB
~188K SLoC