]> git.sur5r.net Git - freertos/commitdiff
Added traceTASK_SWITCHED_OUT macro.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 6 Apr 2008 09:36:48 +0000 (09:36 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 6 Apr 2008 09:36:48 +0000 (09:36 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@295 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/FreeRTOS.h

index c043461243daa481d0c1377d5c5b44addd5fa760..6c47cc0b43a32350f50396ef2215fab70d90368f 100644 (file)
        #define traceTASK_SWITCHED_IN()\r
 #endif\r
 \r
+#ifndef traceTASK_SWITCHED_OUT\r
+       /* Called before a task has been selected to run.  pxCurrentTCB holds a pointer\r
+       to the task control block of the task being switched out. */\r
+       #define traceTASK_SWITCHED_OUT()\r
+#endif\r
+\r
 #ifndef traceBLOCKING_ON_QUEUE_RECEIVE\r
        /* Task is about to block because it cannot read from a \r
        queue/mutex/semaphore.  pxQueue is a pointer to the queue/mutex/semaphore\r