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
@ -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 New Issue
Block a user