MCPcopy Create free account
hub / github.com/brummer10/guitarix / setPriority

Method setPriority

trunk/src/headers/ParallelThread.h:170–173  ·  view source on GitHub ↗

set thread policy and priority class, this may fail silent

Source from the content-addressed store, hash-verified

168
169 // set thread policy and priority class, this may fail silent
170 void setPriority(int32_t rt_prio, int32_t rt_policy) noexcept {
171 if (isRunning())
172 setThreadPolicy(rt_prio, rt_policy);
173 }
174
175 // set the time out for the thread waiting functions in milliseconds
176 void setTimeOut(uint32_t timeout) noexcept {

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected