Nessuna descrizione

david e792ec617c Expanded shared for Shared and Data 2 mesi fa
examples e792ec617c Expanded shared for Shared and Data 2 mesi fa
src e792ec617c Expanded shared for Shared and Data 2 mesi fa
.gitignore 0887d035ae Adds SharedData<T> 2 mesi fa
Cargo.lock e792ec617c Expanded shared for Shared and Data 2 mesi fa
Cargo.toml e792ec617c Expanded shared for Shared and Data 2 mesi fa
LICENSE c6403ea9d9 Updated LICENSE and README.md 2 mesi fa
README.md e792ec617c Expanded shared for Shared and Data 2 mesi fa

README.md

Shared

A Arc Mutex guarded Data.

Usage

cargo add shared

use shared::Shared;

// Wrap your structure in Shared<S> via Shared::new(S)

Examples

To run, say doc_example just cargo run --example doc_example.