From e26ce9342d3b02e629f07d5d8ff541b8e05661f5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 27 Jan 2000 14:40:00 +0000 Subject: Added note from Ian Lance Taylor . --- doc/user/task.t | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3