mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Adapted loop invariant to reflect potential change of state lists.
This commit is contained in:
parent
b594404b59
commit
61bffc4617
1 changed files with 2 additions and 2 deletions
4
tasks.c
4
tasks.c
|
|
@ -988,7 +988,7 @@ static void prvYieldForTask( TCB_t * pxTCB,
|
|||
#endif
|
||||
|
||||
//@ open taskISRLockInv_p();
|
||||
//@ assert( exists_in_taskISRLockInv_p(?gTasks, ?gStates) );
|
||||
//@ assert( exists_in_taskISRLockInv_p(?gTasks, ?gStates0) );
|
||||
|
||||
//@ open readyLists_p(?gCellLists, ?gOwnerLists);
|
||||
//@ List_array_p_index_within_limits(&pxReadyTasksLists, uxCurrentPriority);
|
||||
|
|
@ -1051,7 +1051,7 @@ static void prvYieldForTask( TCB_t * pxTCB,
|
|||
mem(pxTaskItem, gCells) == true &*&
|
||||
xLIST(gReadyList, gSize, gIndex, gEnd, gCells, gVals, gOwners) &*&
|
||||
gSize > 0 &*&
|
||||
exists_in_taskISRLockInv_p(gTasks, gStates)
|
||||
exists_in_taskISRLockInv_p(gTasks, ?gStates)
|
||||
&*&
|
||||
// Read permissions for every task
|
||||
foreach(gTasks, readOnly_sharedSeg_TCB_p(gTasks, gStates))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue