pub fn low_priority_thread()
Expand description
Low Priority Thread
Sets the calling thread’s priority to the lowest platform-specific value possible.
Originally from https://docs.rs/lpt.
§Windows
Uses SetThreadPriority()
with THREAD_PRIORITY_IDLE
(-15).
§Unix
Uses libc::nice()
with the max nice level.
On macOS and *BSD: +20 On Linux: +19