Crates.io | sync-cell |
lib.rs | sync-cell |
version | 0.2.0 |
source | src |
created_at | 2023-12-30 21:02:10.363422 |
updated_at | 2023-12-30 21:02:10.363422 |
description | A collection of easier to use thread-safe types for the creation of larger thread safe systems. |
homepage | https://github.com/Tomaso2468/sync-cell |
repository | https://github.com/Tomaso2468/sync-cell |
max_upload_size | |
id | 1084419 |
size | 20,029 |
A crate containing easier to use thread-safe types for the creation of larger thread safe systems.
SyncCell<T>
- A replacement for std::cell::RefCell
and std::cell::Cell
with an easier to use API than std::sync::RwLock
.HeldSyncCell<T>
- A cell that maintains a previous value until the update
method is called at which point any changes to the value are applied.