When I first came into contact with the concept of "Thread", I thought it was difficult to understand. I read many books and it took a long time to understand its true meaning. Now I will describe the "multithreading" that I understand as a beginner. This is a seriesArticleTo demonstrate the basic concepts related to threads. Hope to help beginners. The language is relatively refined and needs to be read repeatedly in some places.
 
 
 
Chapter 2 multi-thread
 
 
 
21.1 thread Concept
 
 
 
21.2 Thread class
 
 
 
21.3 thread priority
 
 
 
21.4 thread insertion
 
 
 
Status of 21.5 threads
 
 
 
21.6 Thread Synchronization
 
 
 
21.6.1 thread synchronization Concept
 
 
 
21.6.2 INTERLOCK (interlocked class)
 
 
 
21.6.3 (monitor class)
 
 
21.6.4 mutex (mutex class)
 
 
 
21.6.5 deadlock
 
 
 
21.7 Thread Pool
 
 
 
Of course, this is intended for beginners. It is intended for those who first came into contact with the thread concept. Experts will surely laugh at me when they see it, because it is too simple for experts, but I still hope you can encourage me, I am very grateful for any criticism and advice.
 
 
 
PS: The article is copied from word. In some cases, the format is complicated and it is too difficult to set up.