summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-01 20:08:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-01 20:08:58 +0000
commitda874def6f6f91b0e72c69870afdab3ac6430228 (patch)
tree7b9dd1f9bdd324d5fcb4a91a00c930154c27e414 /doc/user
parent26212d3ba7010bdde64ca26e076daeeae3ccd925 (diff)
downloadrtems-da874def6f6f91b0e72c69870afdab3ac6430228.tar.bz2
A bit more explanation for task variables per Eric Norum <eric@cls.usask.ca>.
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/task.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/user/task.t b/doc/user/task.t
index 7c57beff4a..e399f2ea74 100644
--- a/doc/user/task.t
+++ b/doc/user/task.t
@@ -301,6 +301,13 @@ other tasks' modifications to that variable will not affect the value
seen by the task. This is accomplished by saving and restoring the
variable's value each time a task switch occurs to or from the calling task.
+The value seen by other tasks, including those which have not added the
+variable to their set and are thus accessing the variable as a common
+location shared among tasks, can not be affected by a task once it has
+added a variable to its local set. Changes made to the variable by
+other tasks will not affect the value seen by a task which has added the
+variable to its private set.
+
This feature can be used when a routine is to be spawned repeatedly as
several independent tasks. Although each task will have its own stack,
and thus separate stack variables, they will all share the same static and