Change `WaitableCondvar`'s mutex to hold `()` (#25857)

This commit is contained in:
Brooks Prumo 2022-06-09 09:03:22 -05:00 committed by GitHub
parent ee4469c882
commit e5f36aa371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ use std::{
// this will likely be wrapped in an arc somehow
#[derive(Default, Debug)]
pub struct WaitableCondvar {
pub mutex: Mutex<u8>,
pub mutex: Mutex<()>,
pub event: Condvar,
}