Changes the scheduling policy attribute of thread creation.
cma_attr_set_sched( attr, policy, priority);
Argument Data Type Accessattr opaque cma_t_attr read policy opaque cma_t_sched_ read policy priority opaque cma_t_priority read
#includevoid cma_attr_set_sched ( cma_t_attr *attr, cma_t_sched_policy policy, cma_t_priority priority);
cma_c_sched_fifo cma_c_sched_rr cma_c_sched_throughput cma_c_sched_background
See Section 2.2.3.2 for a description of the scheduling policies.
Low Mid Highcma_c_prio_fifo_ cma_c_prio_fifo_ cma_c_prio_fifo_max min mid cma_c_prio_rr_ cma_c_prio_rr_ cma_c_prio_rr_max min mid cma_c_prio_ cma_c_prio_ cma_c_prio_through_max through_min through_mid cma_c_prio_back_ cma_c_prio_back_ cma_c_prio_back_max min mid
The default priority is cma_c_prio_default_mid. (This symbol maps to cma_c_prio_through_mid.)
cma_e_badparam cma_e_existence cma_e_use_error