Obtains the current priority of a thread.
cma_thread_get_priority(
                         thread,
                         priority);
 
Argument         Data Type               Access
thread           opaque cma_t_thread     read
priority         opaque cma_t_priority   write
#includevoid cma_thread_get_priority ( cma_t_thread thread, cma_t_priority *priority);
The exact effect of different priority values is dependent upon the scheduling policy assigned to the thread.
cma_e_existence cma_e_use_error