diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-27 14:40:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-27 14:40:00 +0000 |
commit | e26ce9342d3b02e629f07d5d8ff541b8e05661f5 (patch) | |
tree | bc67b19dfd7cc465dbd427a1d33f8e3842e570fa /doc/user | |
parent | Added after report from Quality Quorum <qqi@world.std.com> that (diff) | |
download | rtems-e26ce9342d3b02e629f07d5d8ff541b8e05661f5.tar.bz2 |
Added note from Ian Lance Taylor <ian@zembu.com>.
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/task.t | 8 |
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 |