Introduction - If you have any usage issues, please Google them yourself
This is a thread on the synchronization problem. Each has a different answer, because when two threads with the implementation, the program is the implementation of the order for the cross-led process of the implementation is a must in nature. Sometimes there will be a result, sometimes two, it is not necessarily because the two threads while not zero.
Packet : 103244828threadsync1.rar filelist
ThreadSync1.c