This module abstracts over loom and std::sync depending on whether we are running tests or not.
loom
std::sync