4 releases (stable)

1.2.0 Sep 22, 2020
1.1.0 Sep 7, 2020
1.0.0 Aug 29, 2020
0.1.0 Jun 2, 2019

#3 in #limit

Download history 1632/week @ 2021-08-08 1285/week @ 2021-08-15 1662/week @ 2021-08-22 1507/week @ 2021-08-29 1476/week @ 2021-09-05 1148/week @ 2021-09-12 1790/week @ 2021-09-19 3007/week @ 2021-09-26 3477/week @ 2021-10-03 2693/week @ 2021-10-10 517/week @ 2021-10-17 46/week @ 2021-10-24 41/week @ 2021-10-31 47/week @ 2021-11-07 191/week @ 2021-11-14 75/week @ 2021-11-21

1,253 downloads per month

Apache-2.0 OR MIT

7KB
94 lines

async-lock

Build License Cargo Documentation

Async synchronization primitives.

This crate provides the following primitives:

  • Barrier - enables tasks to synchronize all together at the same time.
  • Mutex - a mutual exclusion lock.
  • RwLock - a reader-writer lock, allowing any number of readers or a single writer.
  • Semaphore - limits the number of concurrent operations.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~34KB

sj_