Google interview question

Question was about using a shared resource between two threads. Basic Producer/Cosumer model.

Interview Answer

Anonymous

Jul 26, 2018

Using Mutexes. Was asked to elaborate on improving efficiency, I could not.

1