1 use crate::sys::mutex::Mutex;
2 use crate::time::Duration;
7 pub const fn new() -> Condvar {
12 pub unsafe fn init(&mut self) {}
15 pub unsafe fn notify_one(&self) {}
18 pub unsafe fn notify_all(&self) {}
20 pub unsafe fn wait(&self, _mutex: &Mutex) {
21 panic!("condvar wait not supported")
24 pub unsafe fn wait_timeout(&self, _mutex: &Mutex, _dur: Duration) -> bool {
25 panic!("condvar wait not supported");
29 pub unsafe fn destroy(&self) {}