In the playing field, the Arc contains a Mutex. A mutex provides mutual exclusion, meaning that it allows us to lock its inner value (in this case, a bool) preventing other threads from manipulating the same value at the same time. It prevents data races, which is a cause of undefined behavior, by preventing concurrent reads and writes on a value.