I am writing a C++ program and am currently having an issue where I need atomics, preferably std::atomic_flag, to have thread safe flags. The issue is that I need multiple d