We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22572d0 commit eb5a0d9Copy full SHA for eb5a0d9
library/std/src/sync/condvar.rs
@@ -195,8 +195,10 @@ impl Condvar {
195
if poisoned { Err(PoisonError::new(guard)) } else { Ok(guard) }
196
}
197
198
- /// Blocks the current thread until this condition variable receives a
199
- /// notification and the provided condition is false.
+ /// Blocks the current thread until the provided `condition` is met.
+ ///
200
+ /// While `condition` is not met, this function will [`wait`] for
201
+ /// notification, before again checking `condition`.
202
///
203
/// This function will atomically unlock the mutex specified (represented by
204
/// `guard`) and block the current thread. This means that any calls
0 commit comments