/* If null is passed in here then we are deleting ourselves. */\r
pxTCB = prvGetTCBFromHandle( pxTaskToDelete );\r
\r
- traceTASK_DELETE( pxTCB );\r
-\r
/* Remove task from the ready list and place in the termination list.\r
This will stop the task from be scheduled. The idle task will check\r
the termination list and free up any memory allocated by the\r
/* Increment the uxTaskNumberVariable also so kernel aware debuggers\r
can detect that the task lists need re-generating. */\r
uxTaskNumber++;\r
+ \r
+ traceTASK_DELETE( pxTCB ); \r
}\r
taskEXIT_CRITICAL();\r
\r