We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060e8cb commit b3be11eCopy full SHA for b3be11e
library/std/src/sys/cloudabi/condvar.rs
@@ -28,7 +28,11 @@ impl Condvar {
28
29
pub unsafe fn notify_one(&self) {
30
if self.condvar.load(Ordering::Relaxed) != abi::CONDVAR_HAS_NO_WAITERS.0 {
31
- let ret = abi::condvar_signal(&self.condvar as *const AtomicU32 as *mut abi::condvar, abi::scope::PRIVATE, 1);
+ let ret = abi::condvar_signal(
32
+ &self.condvar as *const AtomicU32 as *mut abi::condvar,
33
+ abi::scope::PRIVATE,
34
+ 1,
35
+ );
36
assert_eq!(ret, abi::errno::SUCCESS, "Failed to signal on condition variable");
37
}
38
0 commit comments