1 unstable release

0.1.0 Sep 28, 2022

#1477 in Asynchronous

Download history 6452/week @ 2024-03-14 7000/week @ 2024-03-21 6895/week @ 2024-03-28 5988/week @ 2024-04-04 7489/week @ 2024-04-11 7219/week @ 2024-04-18 5829/week @ 2024-04-25 6121/week @ 2024-05-02 5198/week @ 2024-05-09 5641/week @ 2024-05-16 5176/week @ 2024-05-23 5867/week @ 2024-05-30 5549/week @ 2024-06-06 5770/week @ 2024-06-13 5591/week @ 2024-06-20 5146/week @ 2024-06-27

22,994 downloads per month
Used in 172 crates (3 directly)

MIT/Apache

48KB
923 lines

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.

lib.rs:

Task synchronisation primitives for pinned 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.

Dependencies

~1.2–2MB
~39K SLoC