Functions
corbo::threads Namespace Reference

Functions

bool set_thread_scheduling (std::thread &th, int priority)
 Change the scheduling priority of a thread. More...
 

Function Documentation

◆ set_thread_scheduling()

bool corbo::threads::set_thread_scheduling ( std::thread &  th,
int  priority 
)
inline

Change the scheduling priority of a thread.

Parameters
priorityPriority value between 1 and 99
Returns
true if the scheduling options has been changed, false otherwise.

Definition at line 48 of file threads.h.



control_box_rst
Author(s): Christoph Rösmann
autogenerated on Mon Feb 28 2022 22:08:03