#barrier #sync #panic

adaptive-barrier

Barrier with adaptable number of thread subsciptions

2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 20, 2021
0.1.0 Dec 26, 2020

#4 in #barrier

Download history 31/week @ 2021-08-08 32/week @ 2021-08-15 104/week @ 2021-08-22 21/week @ 2021-08-29 24/week @ 2021-09-05 121/week @ 2021-09-12 36/week @ 2021-09-19 26/week @ 2021-09-26 19/week @ 2021-10-03 16/week @ 2021-10-10 19/week @ 2021-10-17 25/week @ 2021-10-24 24/week @ 2021-10-31 80/week @ 2021-11-07 76/week @ 2021-11-14 56/week @ 2021-11-21

128 downloads per month
Used in arc-swap

Apache-2.0/MIT

17KB
295 lines

Adaptive barrier

Actions Status codecov docs

A Barrier synchronization primitive, similar to std::sync::Barrier, but one that adjusts the expected number of threads. This makes it robust in face of panics (it won't make your program deadlock, like the standard Barrier).

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.

No runtime deps

=;1`