Async synchronization primitives
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-06 15:19:37 +02:00
src chore: sync dependencies (monorepo) 2026-03-30 09:26:20 +02:00
tests chore: Fix typos (#89) 2024-09-14 00:24:26 +09:00
.gitignore Merge crates into a single repo 2020-09-21 18:58:31 +02:00
Cargo.toml chore: sync dependencies (monorepo) 2026-04-06 15:19:37 +02:00
LICENSE-APACHE Initial commit 2020-05-17 17:41:54 +02:00
LICENSE-MIT Initial commit 2020-05-17 17:41:54 +02:00
README.md Update README.md 2025-12-21 08:43:09 -08:00

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.
  • OnceCell - a memory location that can be written to at most once.
  • 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.