English | 中文
Introduction
axpoll is the pure no_std readiness API used by TGOSKits. It defines event
bits, readiness sources, owned registration leases, and typed shared-observer
and exclusive-consumer registration. It deliberately does not own a wait queue,
scheduler, lock implementation, or hard-IRQ wake path.
Use axpoll-set when a task/deferred-context registration queue
with Linux waitqueue selection semantics is required. An OS runtime composes
that queue with its task blocking and IRQ-to-task delivery mechanisms; VFS and
device interfaces continue to depend only on this crate's readiness contracts.
Quick Start
Installation
Add this crate to your Cargo.toml:
[]
= "0.5.4"
Run Check and Test
# Enter the crate directory
# Format code
# Run clippy
# Run tests
# Build documentation
Integration
Example contract
use ;
;
Documentation
Generate and view API documentation:
Online documentation: docs.rs/axpoll
Contributing
- Fork the repository and create a branch
- Run local format and checks
- Run local tests relevant to this crate
- Submit a PR and ensure CI passes
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.