embassy/embassy-sync
2022-09-25 09:40:36 +03:00
..
src Remove default, reorder generic params 2022-09-25 09:40:36 +03: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.