Used single-core list predicate xLIST to express access permissions to ready lists in readyLists_p.

This commit is contained in:
Tobias Reinhard 2022-11-18 16:27:38 -05:00
parent 8f463be9d8
commit cf65065a0c
3 changed files with 43 additions and 6 deletions

View file

@ -985,6 +985,8 @@ static void prvYieldForTask( TCB_t * pxTCB,
//@ open taskISRLockInv();
//@ open readyLists_p();
//@ List_array_p_index_within_limits(&pxReadyTasksLists, uxCurrentPriority);
//@ List_array_get_l(pxReadyTasksLists, uxCurrentPriority);
//@ open xLIST(&pxReadyTasksLists[uxCurrentPriority], _, _, _, _, _);
if( listLIST_IS_EMPTY( &( pxReadyTasksLists[ uxCurrentPriority ] ) ) == pdFALSE )
{