Is the API listGETOWNEROFNEXTENTRY() include all the tasks in the system include
ready , suspend, block , delete tasks ?
That macro (which is not documented, or intended for application use on
internal FreeRTOS lists) doesn’t have any knowledge of how a list is
being used. It only works on one list at a time, and FreeRTOS denoted
he state of a task by which ‘state list’ the task appears in. So Ready
state tasks, appear in one of the Ready lists, Blocked tasks appear in
one of the Blocked lists, etc. So the answer to your question is I
think “No”, it can’t do, as one list will only ever contain tasks of the
Ok Richard ,Thank you.
If I have a ‘tasks ready list’ with only one task in it – Is the current item of this list (pxFirstTCB) will be equal to the next item of this list (pxNextTCB) ?
In other words – Is it possiable to ‘miss’ a single task in a list ?