12 releases

Uses new Rust 2024

0.3.0-preview.3 Mar 11, 2026
0.3.0-preview.2 Mar 6, 2026
0.2.2-preview.3 Feb 6, 2026

#320 in Asynchronous

Download history 96/week @ 2026-02-05 32/week @ 2026-02-12 100/week @ 2026-02-19 136/week @ 2026-02-26 266/week @ 2026-03-05 170/week @ 2026-03-12 227/week @ 2026-03-19 127/week @ 2026-03-26

815 downloads per month
Used in 35 crates (17 directly)

GPL-3.0-or-later OR Apache-2… and maybe GPL-2.0-or-later

120KB
2.5K SLoC

axtask

Crates.io Docs.rs

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 as sleep, sleep_until, and WaitQueue::wait_timeout.
  • preempt: Enable preemptive scheduling.
  • sched-fifo: Use the FIFO cooperative scheduler (enables multitask).
  • sched-rr: Use the Round-robin preemptive scheduler (enables multitask and preempt).
  • sched-cfs: Use the Completely Fair Scheduler (enables multitask and preempt).
  • 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–12MB
~207K SLoC