Introduction - If you have any usage issues, please Google them yourself
To use CRITICAL_SECTION to achieve, someone asked the CRITICAL_SECTION not A thread lock, then thread B unlock
In fact, this is not a problem description msdn just not safe, did not say a certain error, it is to ensure that the lock times = unlock times, there would be no problem, correct code has been a strength test, said the results