]> git.sur5r.net Git - freertos/commitdiff
Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask );
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 19 May 2008 19:15:38 +0000 (19:15 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 19 May 2008 19:15:38 +0000 (19:15 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@360 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/task.h

index f9299dc95235465a9bfeb8240790ffb70b79f941..ebb17b50dc425cbddd453955ee582c31522e517c 100644 (file)
@@ -786,6 +786,16 @@ void vTaskSuspendAll( void );
  */\r
 signed portBASE_TYPE xTaskResumeAll( void );\r
 \r
+/**\r
+ * task. h\r
+ * <pre>signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask );</pre>\r
+ *\r
+ * Utility task that simply returns pdTRUE if the task referenced by xTask is\r
+ * currently in the Suspended state, or pdFALSE if the task referenced by xTask\r
+ * is in any other state.\r
+ *\r
+ */\r
+signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask );\r
 \r
 /*-----------------------------------------------------------\r
  * TASK UTILITIES\r