anonymous wrote on Saturday, June 02, 2007:
Quite some time ago I think you added the following code to vTaskDelete() at my request. This was to allow a task to properly delete itself by passing its own task handle rather than NULL. I think a similar addition should be added in to vTaskPrioritySet().
/* Ensure a yield is performed if the current task is being
if( pxTaskToDelete == pxCurrentTCB )
__pxTaskToDelete = NULL;