summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-05-01 15:54:04 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-05-01 15:54:04 +0000
commit8b152ea6962969e0a337b81525c943aba7a60a5e (patch)
tree759476df37b5918e5595ffb4ba7627e2db2384a1 /Source
parent24e60f4f200adbf1e7220fec19dfe69b60a2b299 (diff)
downloadfreertos-8b152ea6962969e0a337b81525c943aba7a60a5e.tar.gz
freertos-8b152ea6962969e0a337b81525c943aba7a60a5e.tar.bz2
freertos-8b152ea6962969e0a337b81525c943aba7a60a5e.tar.xz
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://freertos.svn.sourceforge.net/svnroot/freertos/trunk@331 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source')
-rw-r--r--Source/include/task.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/include/task.h b/Source/include/task.h
index 70c73108..f9299dc9 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:
<pre>
void vTask1( void * pvParameters )