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

Download history 11/week @ 2026-04-09 15/week @ 2026-04-16 5/week @ 2026-04-23 11/week @ 2026-05-07 122/week @ 2026-05-14 86/week @ 2026-05-21 77/week @ 2026-05-28 90/week @ 2026-06-04 102/week @ 2026-06-11 78/week @ 2026-06-18 84/week @ 2026-06-25 248/week @ 2026-07-02 96/week @ 2026-07-09

521 downloads per month
Used in 17 crates (9 directly)

Apache-2.0

475KB
10K SLoC

ax-task

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.
  • FIFO cooperative scheduler is the default when no scheduler feature is selected.
  • 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

~20MB
~363K SLoC