iddm / thread-priority

A simple Cross-platform thread schedule and priority library for rust.
MIT License
110 stars 20 forks source link

Add support for SCHED_DEADLINE flags #15

Closed FridayOrtiz closed 1 year ago

FridayOrtiz commented 2 years ago

In reference to #13, this adds support for the three flags supported by SCHED_DEADLINE.

I don't like that this changes the interface (deadline policy goes from taking 3 u64 to 3 u64 and an Option<DeadlineFlags>) and am open to alternative suggestions that are backwards-compatible.

iddm commented 2 years ago

Hey @RafaelOrtizRC ! Are you going to rebase your PR and finish it so that we merge it?

iddm commented 1 year ago

I've just finished it for you: https://crates.io/crates/thread-priority/0.13.0