thread-priority

Build status Crates Docs MIT licensed

A simple library to control thread schedule policies and thread priority.

This crate does not support all the plaforms yet but it is inteded to be developed so, so feel free to contribute!

Supported platforms

Example

Setting current thread's priority to minimum:

```rust,norun use threadpriority::*;

fn main() { assert!(setcurrentthreadpriority(ThreadPriority::Min).isok()); } ```

License

This project is licensed under the MIT license.