pinned

Crates.iopinned
lib.rspinned
version0.1.0
sourcesrc
created_at2022-09-28 14:51:34.30766
updated_at2022-09-28 14:51:34.30766
descriptionSynchronisation primitives for !Send tasks.
homepagehttps://github.com/futursolo/pinned
repositoryhttps://github.com/futursolo/pinned
max_upload_size
id675842
size63,532
Kaede Hoshikawa (futursolo)

documentation

README

Pinned

Synchronisation primitives for !Send tasks.

This crate provides the following task synchronisation mechanisms for !Send futures:

  • Barrier: Ensures multiple tasks to wait until all tasks have reached a point in the program before continuing execution of all together.
  • RwLock: Provides a mutual exclusion mechanism which allows multiple readers at the same time, while allowing only one writer at a time.
  • mpsc: A channel that supports sending multiple values from multiple producers to a single receiver.
  • oneshot: A channel to send one single value from a producer to a receiver.
Commit count: 20

cargo fmt