stop variables being global to all tasks?
Posted: Mon Aug 02, 2004 3:26 am
Is there a way to stop variables from being global to all tasks.
I have scenarios where I have multiple tasks that use the same variable
name and sometimes these tasks are running at the same time and one
task sets a variable then another task sets that variable before the
first task makes use of the variable and the first task now uses the
variable value set by the second task not the value it set for the
variable.
I have scenarios where I have multiple tasks that use the same variable
name and sometimes these tasks are running at the same time and one
task sets a variable then another task sets that variable before the
first task makes use of the variable and the first task now uses the
variable value set by the second task not the value it set for the
variable.