include vmm.inc VMMcall End_Critical_Section |
The End_Critical_Section service releases the critical section if the current virtual machine owns the section, and the claim count is zero.
This service has no parameters.
This service has no return value.
This service decrements the claim count and releases the critical section if the new count is zero. Since releasing the critical section lowers the execution priority of the current virtual machine, this service causes a task switch if a nonsuspended virtual machine has higher priority.
Flags