fun synchronization primitives for your fun synchronization needs
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 ofSystem.Threading.CountdownEvent
from .NET (also calledCountDownLatch
in Java).SignalEvent
, a port ofSystem.Threading.EventWaitHandle
(and its derived classes,AutoResetEvent
andManualResetEvent
) from .NET.WriterReaderPhaser
, a port ofWriterReaderPhaser
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;
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)