1 unstable release

0.1.0 Sep 28, 2022

#1600 in Asynchronous

Download history 7029/week @ 2024-07-20 6587/week @ 2024-07-27 7200/week @ 2024-08-03 8148/week @ 2024-08-10 6963/week @ 2024-08-17 7291/week @ 2024-08-24 6839/week @ 2024-08-31 7305/week @ 2024-09-07 5938/week @ 2024-09-14 6595/week @ 2024-09-21 8440/week @ 2024-09-28 6820/week @ 2024-10-05 7441/week @ 2024-10-12 7910/week @ 2024-10-19 7011/week @ 2024-10-26 6936/week @ 2024-11-02

30,307 downloads per month
Used in 190 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–2MB
~38K SLoC