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
Description
As well known, the
std::threadof 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_setparamorsched_setparam?Any suggestions?
Verification