Class IsConfinedOutsideLocks
java.lang.Object
org.ek9lang.compiler.support.IsConfinedOutsideLocks
THE reader of the confined-outside-locks fact (phase5 ConfinedTypeMarker, beside the confined fact; design
§13.11.1 (f)): can no value of this type be reached from anything shared between threads EXCEPT through a
MutexLock's payload? Every confined type is; so is a type reached only through a payload - its objects are
either under the lock or still being built by the one thread that will hand them over, copy them in or make them
inside the body (T4, §13.12), so a write to one outside a lock is a write to that thread's own object. The
exemption E08251 reads; never the stamp's fact (a payload-only type IS reached by every thread that takes the lock,
so its objects are never stamped - IsConfinedType). A type with no mark is shared: fail closed. Never read
the squirrel raw.-
Constructor Details
-
IsConfinedOutsideLocks
public IsConfinedOutsideLocks()
-
-
Method Details
-
test
-