Avatarin interview question

What is the basic way to achieve synchronization between threads?

Interview Answer

Anonymous

May 2, 2023

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