how to run some codes before tasks?

runfirst wrote on Monday, July 08, 2013:

Continue with above post.
I add own code for this function as below:

void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
{
pxTask = pxTask;
pcTaskName = pcTaskName;
STM_EVAL_LEDOn(LED4);
}

And then call it by :
vApplicationStackOverflowHook( T1,“test” );

will this LED4 on when task T1 is overflow?