Type Definition no_std_compat2::sync::RwLock

source ·
pub type RwLock<T> = RwLock<T, Spin>;
Available on crate feature alloc and crate feature compat_sync and crate feature rwlock and non-crate feature std only.
Expand description

A lock that provides data access to either one writer or many readers. See rwlock::RwLock for documentation.

A note for advanced users: this alias exists to avoid subtle type inference errors due to the default relax strategy type parameter. If you need a non-default relax strategy, use the fully-qualified path.