This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: Ti-rtos's ability to create task priorities

Part Number: CC2640R2F


Tool/software: TI-RTOS

Hi

I'm starting with ti_rtos, and I just created the task under the Task_construct() function.Is there any rule for setting the the value of taskParams.priority? Does larger number stand for higher priority or lower priority? Any range for number definition? 

How task manager schedule different task process according to task priority setting? If there is a while(1) function in higher priority task A, will task B still be called or system will be blocked in task A while(1) ?

Is there any other way to switch between two tasks rather than using event_pend or event_post?