Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
End_Critical_Section
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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.
 
Return Value
 
This service has no return value.
 
Comments
 
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.
 
Uses
 
Flags
 
See Also
 
Begin_Critical_Section, End_Crit_And_Suspend