1 unstable release

0.1.0 Sep 28, 2022

#1596 in Asynchronous

Download history 7031/week @ 2024-01-03 7274/week @ 2024-01-10 6473/week @ 2024-01-17 6344/week @ 2024-01-24 7312/week @ 2024-01-31 6933/week @ 2024-02-07 6528/week @ 2024-02-14 6439/week @ 2024-02-21 7116/week @ 2024-02-28 6216/week @ 2024-03-06 6326/week @ 2024-03-13 7454/week @ 2024-03-20 6722/week @ 2024-03-27 6230/week @ 2024-04-03 7166/week @ 2024-04-10 6344/week @ 2024-04-17

27,455 downloads per month
Used in 157 crates (2 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