Impl Send for Timer on Windows
Fixes #20943 Signed-off-by: Peter Atashian <retep998@gmail.com>
This commit is contained in:
parent
bd8a43c668
commit
abccfa4018
2 changed files with 7 additions and 1 deletions
|
|
@ -48,9 +48,9 @@ pub enum Req {
|
|||
RemoveTimer(libc::HANDLE, Sender<()>),
|
||||
}
|
||||
|
||||
unsafe impl Send for Timer {}
|
||||
unsafe impl Send for Req {}
|
||||
|
||||
|
||||
fn helper(input: libc::HANDLE, messages: Receiver<Req>, _: ()) {
|
||||
let mut objs = vec![input];
|
||||
let mut chans = vec![];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue