From b2281e6aec631dc7c6d69edef9268ce7e00ed1dc Mon Sep 17 00:00:00 2001 From: Botahamec Date: Sat, 21 Dec 2024 11:27:09 -0500 Subject: Implement lock death, but without any usages --- src/rwlock.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rwlock.rs') diff --git a/src/rwlock.rs b/src/rwlock.rs index c1d9a78..9b65a0b 100644 --- a/src/rwlock.rs +++ b/src/rwlock.rs @@ -4,6 +4,7 @@ use std::marker::PhantomData; use lock_api::RawRwLock; use crate::key::Keyable; +use crate::poisonable::PoisonFlag; mod rwlock; @@ -46,6 +47,7 @@ pub type ParkingRwLock = RwLock; /// [`DerefMut`]: `std::ops::DerefMut` pub struct RwLock { raw: R, + poison: PoisonFlag, data: UnsafeCell, } -- cgit v1.2.3