Crates.io | exclusive_cell |
lib.rs | exclusive_cell |
version | 0.1.0 |
source | src |
created_at | 2022-12-15 10:31:34.53375 |
updated_at | 2022-12-15 10:31:34.53375 |
description | A thread-safe, non-blocking, no-std cell that can only be accessed once. |
homepage | |
repository | https://github.com/mkroening/exclusive_cell |
max_upload_size | |
id | 737781 |
size | 23,882 |
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.
Licensed under either of
at your option.
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.