Scala, Concurrency, API, Project Loom, Java.
exception will be thrown on the next fork). To improve safety in this area, Ox provides its wrapper, ForkLocal, which differs from ScopedValue in two ways: first, it has a default value (instead of null). Second, setting a new value always starts a new scope: val trail = Trail() val v =