From: richardbarry Date: Sun, 6 Apr 2008 09:36:48 +0000 (+0000) Subject: Added traceTASK_SWITCHED_OUT macro. X-Git-Tag: V5.0.0~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f93f02e883005bd8841091df6e5690eb26be359;p=freertos Added traceTASK_SWITCHED_OUT macro. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@295 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index c04346124..6c47cc0b4 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -180,6 +180,12 @@ #define traceTASK_SWITCHED_IN() #endif +#ifndef traceTASK_SWITCHED_OUT + /* Called before a task has been selected to run. pxCurrentTCB holds a pointer + to the task control block of the task being switched out. */ + #define traceTASK_SWITCHED_OUT() +#endif + #ifndef traceBLOCKING_ON_QUEUE_RECEIVE /* Task is about to block because it cannot read from a queue/mutex/semaphore. pxQueue is a pointer to the queue/mutex/semaphore