exclusive_cell

Crates.ioexclusive_cell
lib.rsexclusive_cell
version0.1.0
sourcesrc
created_at2022-12-15 10:31:34.53375
updated_at2022-12-15 10:31:34.53375
descriptionA thread-safe, non-blocking, no-std cell that can only be accessed once.
homepage
repositoryhttps://github.com/mkroening/exclusive_cell
max_upload_size
id737781
size23,882
Martin Kröning (mkroening)

documentation

README

exclusive_cell

Crates.io docs.rs CI

This crate provides two thread-safe, non-blocking, no-std synchronization primitives:

  • ExclusiveCell can be accessed at most once and provides mutable access to the stored contents.
  • CallOnce can only be called once sucessfully.

For API documentation see the docs.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 7

cargo fmt