Go to file
John Nunley 542831132f
Replace async-channel with flume
This commit replaces async-channel in some tests with flume. It appears
that async-channel doesn't work under MIRI but flume does, so we can
work around this for now by replacing it with flume.

cc https://github.com/smol-rs/async-channel/issues/85

Signed-off-by: John Nunley <dev@notgull.net>
2024-04-08 14:10:39 -07:00
.github m: Port to event-listener v5.0.0 2024-02-12 06:27:42 -08:00
src Replace async-channel with flume 2024-04-08 14:10:39 -07:00
tests Replace async-channel with flume 2024-04-08 14:10:39 -07:00
.gitignore Merge crates into a single repo 2020-09-21 18:58:31 +02:00
CHANGELOG.md v3.3.0 2024-01-09 20:53:09 -08:00
Cargo.toml Replace async-channel with flume 2024-04-08 14:10:39 -07: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 license badge to match Cargo.toml 2021-02-14 13:38:47 +09:00

README.md

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.