Updated ready list invariant from requiring exactly 1 idle task to configNUM_CORES idle tasks.

This commit is contained in:
Tobias Reinhard 2022-12-07 07:34:46 -05:00
parent 9a81e7b860
commit 136b1d69b2
2 changed files with 6 additions and 6 deletions

View file

@ -1079,7 +1079,7 @@ static void prvYieldForTask( TCB_t * pxTCB,
&*&
subset(gOwners, gTasks) == true &*&
(uxCurrentPriority == 0
? length(gCells) == 2
? length(gCells) == configNUM_CORES
: true
) &*&
List_array_p(&pxReadyTasksLists, uxCurrentPriority, gPrefCellLists,