Crate exo_task

Crate exo_task 

Source
Expand description

§Introduction

A lightweight async task executor library for bare metal (or any) systems.

This crate provides implementations for:

  • Task management and unique task identification
  • A simple FIFO-based executor for basic async operations
  • A more sophisticated executor with proper waking mechanisms

The crate is no_std compatible and uses the alloc crate for heap allocations.

§Features

  • x86_64 - When enabled, this will cause exo_task to use the x86_64 specific features. Currently, enabling this feature will allow Executor::sleep_if_idle to disable interrupts and halt the CPU when there are no tasks to process.
  • std - When enabled, this will cause exo_task to use the standard library. This is enabled by default but can be disabled with default-features = false, in yourCargo.toml.

Modules§

executor
Advanced executor implementation with proper waking support and task caching
simple_executor
Basic FIFO-based executor implementation for simple async operations
task
Core task types and traits for representing async computations