No longer put windows condvars in a box.
Windows condition variables are movable (while not borrowed) according to their documentation.
This commit is contained in:
parent
ec69a858e4
commit
f3837e788b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub struct Condvar {
|
|||
inner: UnsafeCell<c::CONDITION_VARIABLE>,
|
||||
}
|
||||
|
||||
pub type MovableCondvar = Box<Condvar>;
|
||||
pub type MovableCondvar = Condvar;
|
||||
|
||||
unsafe impl Send for Condvar {}
|
||||
unsafe impl Sync for Condvar {}
|
||||
|
|
Loading…
Reference in a new issue