Function utils::set_priority
Contents
Function utils::set_priority#
Defined in File rt_tools.hpp
Function Documentation#
-
bool utils::set_priority(int priority)#
Set the priority of the current thread.
If priority > o the policy is set to SCHED_FIFO, otherwise it is set to SHED_OTHER
- Parameters
priority – [in]
- Returns
true
- Returns
false
Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.