summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-27 14:40:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-27 14:40:00 +0000
commite26ce9342d3b02e629f07d5d8ff541b8e05661f5 (patch)
treebc67b19dfd7cc465dbd427a1d33f8e3842e570fa /doc
parent318f59124150fe6999573a53f2cccdd2195ec028 (diff)
downloadrtems-e26ce9342d3b02e629f07d5d8ff541b8e05661f5.tar.bz2
Added note from Ian Lance Taylor <ian@zembu.com>.
Diffstat (limited to 'doc')
-rw-r--r--doc/user/task.t8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/user/task.t b/doc/user/task.t
index 106bc31855..22931fa723 100644
--- a/doc/user/task.t
+++ b/doc/user/task.t
@@ -1657,7 +1657,7 @@ rtems_status_code rtems_task_variable_get(
@ifset is-Ada
@example
-procedure Task_Variable_Delete (
+procedure Task_Variable_Get (
Id : in RTEMS.ID;
Ptr : in RTEMS.Address;
Value : out RTEMS.Address;
@@ -1680,7 +1680,11 @@ task, which can get its private value by directly accessing the variable.
@subheading NOTES:
-NONE
+If you change memory which @code{result} points to, remember to declare that
+memory as volatile, so that the compiler will optimize it correctly. In this
+case both the pointer @code{result} and data referenced by @code{result}
+should be considered volatile.
+
@page
@subsection TASK_VARIABLE_DELETE - Remove per task variable