]> git.sur5r.net Git - freertos/commitdiff
Add xTaskGetApplicationTaskTag() prototype.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 30 May 2009 13:27:54 +0000 (13:27 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 30 May 2009 13:27:54 +0000 (13:27 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@753 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/task.h

index be76c206cf570b917d715d646d2112a8c1957224..859b0b68661ce7be469dd3f18d99c28abead163e 100644 (file)
@@ -955,6 +955,14 @@ unsigned portBASE_TYPE uxTaskGetStackHighWaterMark( xTaskHandle xTask );
  */\r
 void vTaskSetApplicationTaskTag( xTaskHandle xTask, pdTASK_HOOK_CODE pxHookFunction );\r
 \r
+/**\r
+ * task.h\r
+ * <pre>void xTaskGetApplicationTaskTag( xTaskHandle xTask );</pre>\r
+ *\r
+ * Returns the pxHookFunction value assigned to the task xTask.\r
+ */\r
+pdTASK_HOOK_CODE xTaskGetApplicationTaskTag( xTaskHandle xTask );\r
+\r
 /**\r
  * task.h\r
  * <pre>portBASE_TYPE xTaskCallApplicationTaskHook( xTaskHandle xTask, pdTASK_HOOK_CODE pxHookFunction );</pre>\r