async_ach

Crates.ioasync_ach
lib.rsasync_ach
version0.2.0
sourcesrc
created_at2022-01-27 02:07:42.802043
updated_at2022-07-19 09:29:18.916666
descriptionAsync Atomic Channel
homepage
repositoryhttps://github.com/rise0chen/async_ach.git
max_upload_size
id522333
size12,870
Rise Chen (rise0chen)

documentation

README

Async Ach

Features

  • const: static friendly
  • no_std: Can run in embedded devices
  • no_alloc: Needn't dynamic memory allocation
  • Lock Free
  • Wait Free: try_send/try_recv is Wait Free
  • Async: send/recv is async

Usage

Waker

An array of core::task::Waker.

Notify

Wait for wake.

Cell

It is similar to RwLock.

Watch

wake on changed.

Spsc

bounded SPSC queue.

Ring

bounded ring buffer.

Mpmc

bounded MPMC queue.

Pubsub

broadcast channel.

Commit count: 22

cargo fmt