Skip to content

Commit

Permalink
Made AsyncPool Send
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed May 19, 2021
1 parent e553b67 commit e338af7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/device_handle/async_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ impl<C: UsbContext> AsyncPool<C> {
}
}
}
unsafe impl<C: UsbContext> Send for AsyncPool<C> {}

/// Polls for transfers and executes their callbacks. Will block until the
/// given timeout, or return immediately if timeout is zero.
Expand Down

0 comments on commit e338af7

Please sign in to comment.