2 ms·“volatile std::atomic“ also works and is more clear, IMO.by spacechild1 5y ago“volatile std::atomic“ also works and is more clear, IMO.