Mutexes Protect Resources
This is a very simple concept that seems to escape many people. In fact, most of the multi-threaded code I’ve seen shows a distinct misunderstanding of this basic fact. Very often people seem to think that a mutex should protect a section of code. I think this misconception may have been caused by the term… Read More »