MCPcopy Create free account
hub / github.com/XpuOS/xsched / SetPriority

Method SetPriority

service/common/src/client.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100XResult Client::SetPriority(XQueueHandle handle, Priority prio)
101{
102 Json::Value request;
103 request["hint_type"] = (Json::Int)kHintTypePriority;
104 request["handle"] = (Json::UInt64)handle;
105 request["priority"] = (Json::Int)prio;
106 return SendHint(request);
107}
108
109XResult Client::SetProcessPriority(PID pid, Priority prio)
110{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected