arcmutex 0.1.1

A convenience library for working with `Arc<Mutex<T>>`s
Documentation

ArcMutex

A rust library for making working with Arc<Mutex<T>>s more convenient.
Defines the ArcMutex<T> type alias and the arcmutex!( expr) macro.

Contributions welcome! :)

Author: Kurotetsuka
License: MIT

Example

let a : ArcMutex< u8> = arcmutex!( 0);
let mut b = a.lock().unwrap();
*b += 1;
println!( "a: {}", *b);