From e338af7c311353fe7276535990dc322b29c7a7a8 Mon Sep 17 00:00:00 2001 From: Ryan Butler Date: Wed, 19 May 2021 17:00:57 -0400 Subject: [PATCH] Made AsyncPool Send --- src/device_handle/async_api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/device_handle/async_api.rs b/src/device_handle/async_api.rs index 4732bbf..79badce 100644 --- a/src/device_handle/async_api.rs +++ b/src/device_handle/async_api.rs @@ -256,6 +256,7 @@ impl AsyncPool { } } } +unsafe impl Send for AsyncPool {} /// Polls for transfers and executes their callbacks. Will block until the /// given timeout, or return immediately if timeout is zero.