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:
Mara Bos 2020-10-01 01:12:08 +02:00
parent ec69a858e4
commit f3837e788b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {}