Function rttest_set_sched_priority

Function Documentation

int rttest_set_sched_priority(const size_t sched_priority, const int policy)

Set the priority and scheduling policy for this thread (pthreads)

Parameters:
  • sched_priority[in] The scheduling priority. Max is 99.

  • policy[in] The scheduling policy (FIFO, Round Robin, etc.)

Returns:

Error code to propagate to main