Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: task defined with lower priority get higher priority in ROV

$
0
0

Hi,

I am working with a couple of tasks, task1 defined in daemonnew  and task2

defined with the follow code

    Task_Params_init(&taskParams);
    taskParams.stackSize = 0x4000;
    taskParams.priority = 0x02;
    task0= Task_create((Task_FuncPtr)connect2server, &taskParams, &eb);
    if(task0 == NULL) {
        System_abort("Task created failed");
    }

so task1 has priority 5 and task2 has priority 2.

The problem come because it seems task1 is never executed. So

I opened ROV and I see that task2 has a priority 9 and task 1 has priority 5.

I was wonder if something extra is needed to set task2 priority correctly ?

Thanks in advance

Julian


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>