pub fn get_current_thread_priority() -> Result<ThreadPriority, Error>
Expand description
Get current thread’s priority value.
Returns current thread’s priority.
§Usage
use thread_priority::get_current_thread_priority;
assert!(get_current_thread_priority().is_ok());