Cleanup warnings

Implement interrupt on signal in pipe:
This commit is contained in:
Jeremy Soller
2017-10-21 20:30:20 -06:00
parent 31d742e6be
commit 51339cb8c9
18 changed files with 125 additions and 91 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ impl<T> WaitQueue<T> {
if let Some(value) = self.inner.lock().pop_front() {
return value;
}
self.condition.wait();
let _ = self.condition.wait();
}
}