README.md 244 B

Shared

A Arc Mutex guarded data

Usage

cargo add shared --git https://git.red-green.com/david/shared

use shared::Shared;

// Wrap your structure in Shared<S> via Shared::new(S) or Shared::with_timeout(S, deadlock_timeout)