Possible Bug in 4.3.1 vTaskCleanUpResources()
The last "list" vTaskCleanUpResources() processes in the
xPendingReadyList:
while( !listLIST_IS_EMPTY( &xPendingReadyList ) )
{
listGET_OWNER_OF_NEXT_ENTRY( pxTCB, &xPendingReadyList );
vListRemove( ( xListItem * ) &( pxTCB->xGenericListItem ) );
prvDeleteTCB( ( tskTCB * ) pxTCB );
}
But xPendingReadyList only has xEventListItem items on it,
which appear to be redundent (ie all TCBs appear in
xGenericListItem items. So I would say that this entire
final remove processing loop should be removed.
Dan Searles
Possible Bug in 4.3.1 vTaskCleanUpResources()
I think this is benign, but unnecessary as you say.
Regards.