Skip to content

Commit

Permalink
Change WaitableCondvar's mutex to hold () (#25857)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jun 9, 2022
1 parent ee4469c commit e5f36aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/waitable_condvar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit e5f36aa

Please sign in to comment.