From: richardbarry Date: Sat, 30 May 2009 13:27:54 +0000 (+0000) Subject: Add xTaskGetApplicationTaskTag() prototype. X-Git-Tag: V5.3.0~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=31fb30545a2066bf238b374f733e5ec05808aeb4;p=freertos Add xTaskGetApplicationTaskTag() prototype. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@753 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/include/task.h b/Source/include/task.h index be76c206c..859b0b686 100644 --- a/Source/include/task.h +++ b/Source/include/task.h @@ -955,6 +955,14 @@ unsigned portBASE_TYPE uxTaskGetStackHighWaterMark( xTaskHandle xTask ); */ void vTaskSetApplicationTaskTag( xTaskHandle xTask, pdTASK_HOOK_CODE pxHookFunction ); +/** + * task.h + *
void xTaskGetApplicationTaskTag( xTaskHandle xTask );
+ * + * Returns the pxHookFunction value assigned to the task xTask. + */ +pdTASK_HOOK_CODE xTaskGetApplicationTaskTag( xTaskHandle xTask ); + /** * task.h *
portBASE_TYPE xTaskCallApplicationTaskHook( xTaskHandle xTask, pdTASK_HOOK_CODE pxHookFunction );