-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
A-community-libraryArea: The RFC is related to a community library.Area: The RFC is related to a community library.T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.
Description
Issue by hoeppnertill
Wednesday Jul 23, 2014 at 18:09 GMT
For earlier discussion, see rust-lang/rust#15927
This issue was labelled with: A-libs in the Rust repository
Trying to find an equivalent to the following C++ code,
struct sched_param p;
p.sched_priority = priority;
pthread_setschedparam(thread_, SCHED_FIFO, &p);
I failed to set the task priority using just exposed API.
brsons statement on IRC,
you can just call the pthread functions, but you'll be creating a thread that doesn't have the runtime setup properly
leaves little doubt that an exposed API for this actually is needed.
MOZGIII, alopatindev, dljsjr, pirocks and rifqifatih
Metadata
Metadata
Assignees
Labels
A-community-libraryArea: The RFC is related to a community library.Area: The RFC is related to a community library.T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.