Avatarin interview question

What is the basic way to achieve synchronization between threads?

Interview Answer

Anonymous

2 May 2023

The basic way to achieve synchronization among the threads is std::mutex.