Introduction - If you have any usage issues, please Google them yourself
During his visit to these critical areas, as critical a time in a process only allows access to, so in order to solve the synchronization problem, we need to thread synchronization mechanism. First of all, sharing of data resources to create two concurrent threads. In the absence of synchronization control mechanism, the observation of certain anomalies. For such problems, the use of two solutions: ① the use of Windows and mutex mechanism, ② the use of software programs, and compare the performance of both the merits of the program.