From a918bd9825abfaa2c28bc374fd72f9f87cf017be Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Thu, 1 May 2008 15:54:04 +0000 Subject: [PATCH] Update comments for vTaskSuspendAll() "API functions that have the potential to cause a context switch (for example, vTaskDelayUntil(), xQueueSend(), etc.) must not be called while the scheduler is suspended". --- Source/include/task.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/include/task.h b/Source/include/task.h index 70c731086..f9299dc95 100644 --- a/Source/include/task.h +++ b/Source/include/task.h @@ -694,6 +694,10 @@ void vTaskEndScheduler( void ); * without risk of being swapped out until a call to xTaskResumeAll () has been * made. * + * API functions that have the potential to cause a context switch (for example, + * vTaskDelayUntil(), xQueueSend(), etc.) must not be called while the scheduler + * is suspended. + * * Example usage:
  void vTask1( void * pvParameters )