FreeRTOS/Test/CBMC/proofs/CBMCStubLibrary/tasksStubs.c
/* This is mostly called in a loop. For CBMC, we have to bound the loop
 * to a max limits of calls. Therefore this Stub models a nondet timeout in
 * max TASK_STUB_COUNTER_LIMIT iterations.*/
This is mostly called in a loop. For CBMC, we have to bound the loop
to a max limits of calls. Therefore this Stub models a nondet timeout in
max TASK_STUB_COUNTER_LIMIT iterations.
This is mostly called in a loop . For CBMC we have to bound the loop to a max limits of calls . Therefore this Stub models a nondet timeout in max TASK_STUB_COUNTER_LIMIT iterations .
BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut,
                                 TickType_t * const pxTicksToWait )
{
    ++xCounter;
    if( xCounter == xCounterLimit )
    {
        return pdTRUE;
    }
    else
    {
        return nondet_basetype();
    }
}
BaseType_t xTaskCheckForTimeOut ( TimeOut_t * const pxTimeOut , TickType_t * const pxTicksToWait ) { ++ xCounter ; if ( xCounter == xCounterLimit ) { return pdTRUE ; } else { return nondet_basetype ( ) ; } }
This is mostly called in a loop.
This is mostly called in a loop .