Introduction - If you have any usage issues, please Google them yourself
The routine is an excerpt Visual C++ development practice record , the contents of the use of critical resources to solve the problem of thread synchronization, which use the class for ccriticalsection