set thread policy and priority class, this may fail silent
| 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 { |