Skip to content

Doesn't set nice(2) value #20

Description

@devyn

I was kind of expecting this crate on UNIX to call nice(2) in order to mark the thread as lower priority, but it doesn't. At least on Linux so far it seems I'm able to set the thread policy to Batch and that worked successfully, but Linux doesn't seem to do anything at all with the priority value; that's more for the realtime/deadline schedulers.

Am I looking for the wrong thing? I ended up just calling libc::nice() in my application.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions