Skip to main content

get_current_thread_priority

Function get_current_thread_priority 

pub fn get_current_thread_priority() -> Result<ThreadPriority, Error>
Available on crate feature tasks and (Linux or macOS or iOS or DragonFly BSD or FreeBSD or OpenBSD or VxWorks or NetBSD or Android or WebAssembly) only.
Expand description

Get current thread’s priority value.