File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,9 @@ Notes:
100
100
- Variable read reads value from preexisting variable.
101
101
- Variable definition creates new variable (operation is serialized with
102
102
writes, implies an update cannot be lost).
103
- - Module/Class definition is actually constant definition. It is defined
104
- instantly, however its methods are then processed sequentially.
103
+ - A Module or a Class definition is actually a constant definition.
104
+ The definition is atomic, it assigns the Module or the Class to the
105
+ constant, then its methods are defined atomically one by one.
105
106
- ` ||= ` , ` += ` , etc. are actually two operations read and write which implies
106
107
that it's not an atomic operation. See volatile variables
107
108
with compare-and-set.
You can’t perform that action at this time.
0 commit comments