everyone who is reading this question now. I\'m a new guy to write concurreny code in C++.
It is hard for a beginner to keep threads absolutely to be safe even throug