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