embassy/embassy-sync
Dario Nieuwenhuis 7412a859fd Update Rust nightly.
Removes feature(generic_associated_types)
2022-09-23 07:58:48 +02:00
..
src Update Rust nightly. 2022-09-23 07:58:48 +02:00
build.rs split embassy-util into embassy-futures, embassy-sync. 2022-08-22 22:18:13 +02:00
Cargo.toml Add missing std feature for embassy-sync 2022-08-29 10:28:01 +02:00
README.md Add README for embassy-sync 2022-08-23 13:54:40 +02:00

embassy-sync

Synchronization primitives and data structures with an async API:

  • Channel - A Multiple Producer Multiple Consumer (MPMC) channel. Each message is only received by a single consumer.
  • PubSubChannel - A broadcast channel (publish-subscribe) channel. Each message is received by all consumers.
  • Signal - Signalling latest value to a single consumer.
  • Mutex - A Mutex for synchronizing state between asynchronous tasks.
  • Pipe - Byte stream implementing embedded_io traits.
  • WakerRegistration - Utility to register and wake a Waker.
  • AtomicWaker - A variant of WakerRegistration accessible using a non-mut API.
  • MultiWakerRegistration - Utility registering and waking multiple Waker's.