In general multi threading can be really hard, and it is kind of milestone for many people to get know how to deal with multiple threads and not go into some really hard to debug problems. This is my short guideline how to write multi threaded programs in modern c++ ... Think about problem you … Continue reading Multi-threading in C++, “do” and “don’t”. (part 1- try lock free design)