From: richardbarry Date: Mon, 19 May 2008 19:15:38 +0000 (+0000) Subject: Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); X-Git-Tag: V5.0.2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8dffb01631f6a61133f84f726eb7ed49404899f1;p=freertos Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@360 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/include/task.h b/Source/include/task.h index f9299dc95..ebb17b50d 100644 --- a/Source/include/task.h +++ b/Source/include/task.h @@ -786,6 +786,16 @@ void vTaskSuspendAll( void ); */ signed portBASE_TYPE xTaskResumeAll( void ); +/** + * task. h + *
signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask );
+ * + * Utility task that simply returns pdTRUE if the task referenced by xTask is + * currently in the Suspended state, or pdFALSE if the task referenced by xTask + * is in any other state. + * + */ +signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); /*----------------------------------------------------------- * TASK UTILITIES