zephyr

Module kio

Source
Expand description

Async IO for Zephyr

This implements the basics of using Zephyr’s work queues to implement async code on Zephyr.

Most of the work happens in work and in futures

Re-exports§

  • pub use crate::work::futures::sleep;

Modules§

  • Synchronization mechanisms that work with async.

Traits§

  • Extensions on Context to support scheduling via Zephyr’s workqueue system.

Functions§

  • Run an async future on the given worker thread.
  • Run an async future on the current worker thread.
  • Yield the current thread, returning it to the work queue to be run after other work on that queue. (This has to be called yield_now in Rust, because yield is a keyword.)