No longer put wasm condvars in a box.

These condvars are just an AtomicUsize, so can be moved without
problems.
This commit is contained in:
Mara Bos 2020-10-01 01:09:48 +02:00
parent 7f56a35411
commit ec69a858e4
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ pub struct Condvar {
cnt: AtomicUsize,
}
pub type MovableCondvar = Box<Condvar>;
pub type MovableCondvar = Condvar;
// Condition variables are implemented with a simple counter internally that is
// likely to cause spurious wakeups. Blocking on a condition variable will first