No longer put cloudabi condvars in a box.
Cloudabi condvars may be moved safely.
This commit is contained in:
parent
b181f5a923
commit
5769a46788
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue