the value of a variable in a particular device.
device where the variable is declared.
variable whose value has to be changed.
value of the variable.
- During this operation, the variable is automatically locked from external manipulations.
AtomicSet(1, "$Count", 10)
- Sets the value of variable $Count to 10 in the