No longer put cloudabi condvars in a box.

Cloudabi condvars may be moved safely.
This commit is contained in:
Mara Bos 2020-10-01 01:07:56 +02:00
parent b181f5a923
commit 5769a46788

View File

@ -15,7 +15,7 @@ pub struct Condvar {
condvar: UnsafeCell<AtomicU32>,
}
pub type MovableCondvar = Box<Condvar>;
pub type MovableCondvar = Condvar;
unsafe impl Send for Condvar {}
unsafe impl Sync for Condvar {}