#synchronization #phaser #parallel-programming

synchronoise

Synchronization primitives that build upon the standard library

5 releases (1 stable)

Uses old Rust 2015

1.0.0 May 28, 2019
0.4.0 Nov 3, 2017
0.3.0 Mar 6, 2017
0.2.0 Feb 28, 2017
0.1.0 Feb 27, 2017

#183 in Concurrency

Download history 872/week @ 2021-01-11 638/week @ 2021-01-18 721/week @ 2021-01-25 755/week @ 2021-02-01 596/week @ 2021-02-08 606/week @ 2021-02-15 517/week @ 2021-02-22 523/week @ 2021-03-01 644/week @ 2021-03-08 753/week @ 2021-03-15 622/week @ 2021-03-22 797/week @ 2021-03-29 562/week @ 2021-04-05 262/week @ 2021-04-12 254/week @ 2021-04-19 338/week @ 2021-04-26

2,210 downloads per month
Used in 8 crates (5 directly)

MIT/Apache

34KB
322 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

~165KB