Crates.io | futures-mutex |
lib.rs | futures-mutex |
version | 0.2.1 |
source | src |
created_at | 2017-04-16 03:45:56.301436 |
updated_at | 2018-01-05 04:08:59.101016 |
description | A Mutex for the Future(s) |
homepage | |
repository | https://github.com/proman21/futures-mutex |
max_upload_size | |
id | 10779 |
size | 23,579 |
I will no longer be supporting this project. It is no longer used by myself and it has significant issues relating to deadlocks. A deprecation warning will appear in Rust stating this.
A Mutex for the Future(s)
Add this to your Cargo.toml
:
[dependencies]
futures-mutex = "0.2.1"
Then, add this to your crate:
extern crate futures_mutex;
FutMutex<T>
follows a very similar API to futures::sync::BiLock
, however it can have more than two handles.
futures-mutex
is distributed under the Apache License v2.0. See the LICENSE
file for the full text of the license.