6 releases (2 stable)

Uses old Rust 2015

1.0.1 Sep 8, 2022
1.0.0 May 28, 2019
0.4.0 Nov 3, 2017
0.3.0 Mar 6, 2017
0.1.0 Feb 27, 2017

#332 in Concurrency

Download history 6412/week @ 2023-12-16 3724/week @ 2023-12-23 5415/week @ 2023-12-30 7433/week @ 2024-01-06 7895/week @ 2024-01-13 8994/week @ 2024-01-20 7599/week @ 2024-01-27 5385/week @ 2024-02-03 8341/week @ 2024-02-10 8799/week @ 2024-02-17 8372/week @ 2024-02-24 9054/week @ 2024-03-02 10376/week @ 2024-03-09 9728/week @ 2024-03-16 9831/week @ 2024-03-23 7599/week @ 2024-03-30

39,115 downloads per month
Used in 24 crates (7 directly)

MIT/Apache

36KB
342 lines

synchronoise

fun synchronization primitives for your fun synchronization needs Build Status Build status

Documentation | (Manually-generated docs for master)

This is a collection of synchronization facilities that aren't part of the standard library that I wanted to make sure were available for the Rust community.

This crate contains the following synchronization primitives:

  • CountdownEvent, a port of System.Threading.CountdownEvent from .NET (also called CountDownLatch in Java).
  • SignalEvent, a port of System.Threading.EventWaitHandle (and its derived classes, AutoResetEvent and ManualResetEvent) from .NET.
  • WriterReaderPhaser, a port of WriterReaderPhaser from HdrHistogram.

To add this crate to your project, add the following line to your Cargo.toml:

[dependencies]
synchronoise = "0.4.0"

...and the following to your crate root:

extern crate synchronoise;

License

synchronoise is licensed under either the MIT License or the Apache License version 2.0, at your option. See the files LICENSE-MIT and LICENSE-APACHE for details.

(synchronoise is named after a move in Pokemon, by the way)

Dependencies

~155KB