From: richardbarry Date: Thu, 1 May 2008 15:54:04 +0000 (+0000) Subject: Update comments for vTaskSuspendAll() "API functions that have the potential to cause... X-Git-Tag: V5.0.2~66 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81b56a8212c9818b7cb47cc89ad2291fb418d278;p=freertos 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 --- 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 )