Expand description
The actual implementation of lock_api::RawRwLock based on a RefCell.
§Implementation Differences
Unfortunately, the underlying implementation cannot reuse core::cell::RefCell directly,
because it needs access to implementation internals.
However, the implementation should behave identically from an external point of view.
This implementation was based on the version from the stdlib on Jan. 15, 2014. Here is a link to the original source code: https://github.com/rust-lang/rust/blob/714b29a17ff5/library/core/src/cell.rs
Structs§
- Cell
Mutex - Cell
RwLock - A single-threaded implementation of lock_api::RawRwLock that is implemented using a RefCell.