diff --git a/ctr-std/src/sys/unix/rwlock.rs b/ctr-std/src/sys/unix/rwlock.rs index 10162ef..76d2271 100644 --- a/ctr-std/src/sys/unix/rwlock.rs +++ b/ctr-std/src/sys/unix/rwlock.rs @@ -97,7 +97,7 @@ impl RWLock { pub unsafe fn write_unlock(&self) { self.mutex.lock(); *self.writer_active.get() = false; - self.cvar.notify_one(); + self.cvar.notify_all(); self.mutex.unlock(); }