void Enter();
None.
Enters a critical section.
State changes are guaranteed not to occur during the span of calls to the Enter
and Leave
functions. The thread that calls this method has ownership of the critical section until the call to Leave
. Any other thread that tries to enter the critical section will be blocked until the current thread has left the critical section.
CONFIDENTIAL