diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/System/Threading/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/System/Threading/mod.rs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/System/Threading/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/System/Threading/mod.rs deleted file mode 100644 index 86c2de9fd..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/System/Threading/mod.rs +++ /dev/null @@ -1,34 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "System_Threading_Core")] -pub mod Core; -#[link(name = "windows")] -extern "system" {} -pub type ThreadPoolTimer = *mut ::core::ffi::c_void; -pub type TimerDestroyedHandler = *mut ::core::ffi::c_void; -pub type TimerElapsedHandler = *mut ::core::ffi::c_void; -pub type WorkItemHandler = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WorkItemOptions(pub u32); -impl WorkItemOptions { - pub const None: Self = Self(0u32); - pub const TimeSliced: Self = Self(1u32); -} -impl ::core::marker::Copy for WorkItemOptions {} -impl ::core::clone::Clone for WorkItemOptions { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WorkItemPriority(pub i32); -impl WorkItemPriority { - pub const Low: Self = Self(-1i32); - pub const Normal: Self = Self(0i32); - pub const High: Self = Self(1i32); -} -impl ::core::marker::Copy for WorkItemPriority {} -impl ::core::clone::Clone for WorkItemPriority { - fn clone(&self) -> Self { - *self - } -} |