The concept of a “mutex” is somewhat difficult to understand at first. This is my attempt at a simple explanation.
Tag Archives: mutex
Events and threads: A mutex is not enough!
While mutexes, used the right way, prevent colliding memory access, they don’t magically solve other pitfalls of multi-threaded operation. About the ensuing trouble and the lesson learned.