From 81b56a8212c9818b7cb47cc89ad2291fb418d278 Mon Sep 17 00:00:00 2001 From: richardbarry 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". git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@331 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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 )
-- 
2.39.5