#synchronization-primitive #phaser #sync

synchronoise

Synchronization primitives that build upon the standard library

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

#233 in Concurrency

Download history 30766/week @ 2025-08-27 29943/week @ 2025-09-03 37066/week @ 2025-09-10 32763/week @ 2025-09-17 34021/week @ 2025-09-24 38063/week @ 2025-10-01 34372/week @ 2025-10-08 34782/week @ 2025-10-15 44447/week @ 2025-10-22 59324/week @ 2025-10-29 32621/week @ 2025-11-05 36024/week @ 2025-11-12 49389/week @ 2025-11-19 52618/week @ 2025-11-26 42476/week @ 2025-12-03 37681/week @ 2025-12-10

188,977 downloads per month
Used in 86 crates (8 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

~150KB