Don't put hermit condvars in a box.
Hermit condvars are movable.
This commit is contained in:
parent
fe56e8961f
commit
f45ebe459f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ pub struct Condvar {
|
|||
sem2: *const c_void,
|
||||
}
|
||||
|
||||
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