Registry / utility / thread-priority

thread-priority

JSON →
library3.0.0rscratesunverified

Library for managing threads priority and schedule policies.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use thread_priority::set_current_thread_priority;

Sets the priority of the current thread.

use thread_priority::*; fn main() { let priority = ThreadPriority::Crossplatform(ThreadPriorityValue::try_from(5).unwrap()); set_current_thread_priority(priority).unwrap(); println!("Priority set!"); }
Debug
Known footguns
gotchaPlatform-specific behavior: priority values may be ignored or mapped differently on some OSes.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources