26 releases
Uses new Rust 2024
| 0.6.4 | Jul 10, 2026 |
|---|---|
| 0.6.3 | Jul 8, 2026 |
| 0.5.24 | Jul 2, 2026 |
| 0.5.23 | Jun 27, 2026 |
| 0.5.12 | Apr 27, 2026 |
#219 in Concurrency
521 downloads per month
Used in 17 crates
(9 directly)
475KB
10K
SLoC
ax-task
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.- FIFO cooperative scheduler is the default when no scheduler feature is selected.
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
~20MB
~363K SLoC