anonymous wrote on Monday, November 30, 2009:
I realize that when using the TaskDelete() API call the IDLE task must have time to clean up delete task resources. However, if one added a IdleTaskHook to the IDLE task, does the IDLE task clean up the resources prior to invoking the hook method? For example (PIC32):
void vApplicationIdleHook( void )
// Idle task runs and clean up
// delete task resource prior to
// invoking this method?
// Then enter low-power state