Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThe highest priority task runs until it blocks.
In your code snippet, "TASK1" has the highest priority but never blocks, while "TASK2" has lower priority but sleeps for 3 seconds at a time. Switch the priorities around and try again.