Skip to content

[HELP] How can I set thread priority from Rust std. #3432

@wllenyj

Description

@wllenyj

Description

As well known, the std::thread of Rust does not directly expose the priority API. So we want to do that, what is the officially recommended approach?
Do use ffi to call pthread_setschedparam, sched_setparam or sched_setparam?
Any suggestions?

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions