sync-cell

Crates.iosync-cell
lib.rssync-cell
version0.2.0
sourcesrc
created_at2023-12-30 21:02:10.363422
updated_at2023-12-30 21:02:10.363422
descriptionA collection of easier to use thread-safe types for the creation of larger thread safe systems.
homepagehttps://github.com/Tomaso2468/sync-cell
repositoryhttps://github.com/Tomaso2468/sync-cell
max_upload_size
id1084419
size20,029
(WhyAreAllTheseTaken)

documentation

README

Sync Cell

A crate containing easier to use thread-safe types for the creation of larger thread safe systems.

Included Types

  • 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.
Commit count: 19

cargo fmt