mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
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".
This commit is contained in:
parent
019ab1b908
commit
a918bd9825
|
@ -694,6 +694,10 @@ void vTaskEndScheduler( void );
|
||||||
* without risk of being swapped out until a call to xTaskResumeAll () has been
|
* without risk of being swapped out until a call to xTaskResumeAll () has been
|
||||||
* made.
|
* 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:
|
* Example usage:
|
||||||
<pre>
|
<pre>
|
||||||
void vTask1( void * pvParameters )
|
void vTask1( void * pvParameters )
|
||||||
|
|
Loading…
Reference in a new issue