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

Method SetPriority

service/cli/src/cli.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135int Cli::SetPriority(XQueueHandle handle, Priority prio)
136{
137 XSCHED_ASSERT(client_->SetPriority(handle, prio));
138 std::cout << "Priority of XQueue " << ToHex(handle) << " set to " << prio << std::endl;
139 return 0;
140}
141
142int Cli::SetProcessPriority(PID pid, Priority prio)
143{

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected