The conversion of the user layer to the kernel layer on the X86 processor takes 600 CPU instruction cycles
Critical section (Critical code snippet) is not a kernel object but uses kernel resource functionality to be mutually exclusive but not cross-process when accessing the occupied resource
(quoted above from:http://www.dewen.org/q/9561)
WIN32 kernel objects are manipulated by handle
Signal Volume (Semaphore)
The wait function family decrements the access count
when and only if access count 0 o'clock no signal
ReleaseSemaphore Increment access count
Mutex (mutex)
semaphores with and only 1 access counts (two-yuan Semaphore binary semaphore)
wait function family makes no signal (principle with semaphore access count of 0)
ReleaseMutex make it signal (unblock)
Events (Event)
Automatic reset events are mutually exclusive
Manual reset event User-controlled resetevent and setevent mates
wait function family makes no signal
setevent make it signal (unblock)