Function thread_priority::windows::get_thread_priority
source · pub fn get_thread_priority(native: ThreadId) -> Result<ThreadPriority, Error>Expand description
Get the thread’s priority value.
Returns current thread’s priority.
Usage
use thread_priority::{thread_native_id, get_thread_priority};
assert!(get_thread_priority(thread_native_id()).is_ok());