No longer put cloudabi condvars in a box.
Cloudabi condvars may be moved safely.
This commit is contained in:
parent
b181f5a923
commit
5769a46788
|
@ -15,7 +15,7 @@ pub struct Condvar {
|
||||||
condvar: UnsafeCell<AtomicU32>,
|
condvar: UnsafeCell<AtomicU32>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type MovableCondvar = Box<Condvar>;
|
pub type MovableCondvar = Condvar;
|
||||||
|
|
||||||
unsafe impl Send for Condvar {}
|
unsafe impl Send for Condvar {}
|
||||||
unsafe impl Sync for Condvar {}
|
unsafe impl Sync for Condvar {}
|
||||||
|
|
Loading…
Reference in New Issue