Fix typos in CONCURRENCY.md (#1714)
This commit is contained in:
committed by
Nikolay Igotti
parent
9bbecf33d2
commit
8edc17d3e6
+2
-2
@@ -69,8 +69,8 @@
|
|||||||
Freezing is a runtime operation making given object subgraph immutable, by modifying the object header
|
Freezing is a runtime operation making given object subgraph immutable, by modifying the object header
|
||||||
so that future mutation attempts lead to throwing an `InvalidMutabilityException`. It is deep, so
|
so that future mutation attempts lead to throwing an `InvalidMutabilityException`. It is deep, so
|
||||||
if an object has a pointer to another objects - transitive closure of such objects will be frozen.
|
if an object has a pointer to another objects - transitive closure of such objects will be frozen.
|
||||||
Freezing is the one way transformation, frozen objects cannot be unfrozen. Frozen objects has a nice
|
Freezing is the one way transformation, frozen objects cannot be unfrozen. Frozen objects have a nice
|
||||||
property that due to their immutability, they could freely shared between multiple workers/threads
|
property that due to their immutability, they can be freely shared between multiple workers/threads
|
||||||
not breaking the "mutable XOR shared" invariant.
|
not breaking the "mutable XOR shared" invariant.
|
||||||
|
|
||||||
If object is frozen could be checked with an extension property `isFrozen`, and if it is, object sharing
|
If object is frozen could be checked with an extension property `isFrozen`, and if it is, object sharing
|
||||||
|
|||||||
Reference in New Issue
Block a user