Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

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

$
0
0

Hi Julian,

This does seem very odd. The only API that I am aware of that automatically raises the priority of a task is GateMutexPri but that is not being used here and even if it were being used, it would never change the priority to 9 as there is no other task with priority 9.

Can you try the following ?

- Add a breakpoint in NetworkIPAddr() at Task_create(), step over and check the task priority immediately after task creation. I want to know if the task priority is correct when the task got created and gets elevated later on. You could also step into the Task_create() function.

- Add a breakpoint at the beginning of connect2server() function and when the breakpoint hits check the task priority.

Best,

Ashish


Viewing all articles
Browse latest Browse all 25965

Trending Articles



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