Workaround to the non thread-safe [scala.collection.concurrent.TrieMap#getOrElseUpdate()] method.
Workaround to the non thread-safe [scala.collection.concurrent.TrieMap#getOrElseUpdate()] method. More details on why this is necessary can be found at https://issues.scala-lang.org/browse/SI-7943.
Creates a thread factory that assigns the specified name to all created Threads.