Release_Critical_Section


include vmm.inc

mov     ecx, Claims
VMMcall Release_Critical_Section

Decrements the claim count by the specified value. It has the same effect as calling the End_Critical_Section section repeatedly. Uses Flags.

Claims

Number of times to release ownership of critical section. Zero is a valid number, but is ignored.

It is extremely risky for a virtual device to end a critical section it did not enter, or which it entered from a thread other than the current thread.

See also Claim_Critical_Section, End_Critical_Section