synchronism, Exclusion

Description

Mutex

Token, own by one or more process, work with CSingleLock

Critical Section

Token, own by one process, work with CSingleLock

Semaphore

Limited num of threads to access a shared resource

Event

SetEvent, ResetEvent, WaitForSingleObjects

原文地址:https://www.cnblogs.com/cutepig/p/1654752.html