Change `WaitableCondvar`'s mutex to hold `()` (#25857)
This commit is contained in:
parent
ee4469c882
commit
e5f36aa371
|
@ -7,7 +7,7 @@ use std::{
|
||||||
// this will likely be wrapped in an arc somehow
|
// this will likely be wrapped in an arc somehow
|
||||||
#[derive(Default, Debug)]
|
#[derive(Default, Debug)]
|
||||||
pub struct WaitableCondvar {
|
pub struct WaitableCondvar {
|
||||||
pub mutex: Mutex<u8>,
|
pub mutex: Mutex<()>,
|
||||||
pub event: Condvar,
|
pub event: Condvar,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue