Possible Bug in 4.3.1 vTaskCleanUpResources()

dansear wrote on Friday, July 27, 2007:

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

rtel wrote on Friday, July 27, 2007:

I think this is benign, but unnecessary as you say.

Regards.