Lazily allocate+initialize locks.

This commit is contained in:
Mara Bos
2022-06-03 17:04:14 +02:00
parent ac5aa1ded5
commit 6a417d4828
17 changed files with 145 additions and 36 deletions

View File

@@ -10,9 +10,6 @@ impl Condvar {
Condvar {}
}
#[inline]
pub unsafe fn init(&mut self) {}
#[inline]
pub unsafe fn notify_one(&self) {}