Can I share std::atomic among different threads?

Yep! It allows data to be accessed safely from multiple, concurrent threads

1 Like