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 (Android or DragonFly BSD or FreeBSD or iOS or Linux or macOS or NetBSD or OpenBSD or VxWorks or WebAssembly) only.
Expand description

Get current thread’s priority value.