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.
Release_Time_Slice
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Release_Time_Slice
 
The Release_Time_Slice service discards any remaining time in the current
time slice and immediately starts a new time slice for the next virtual
machine in the time-slice queue.
 
This service effectively suspends the current virtual machine. The virtual
machine remains suspended until another virtual machine or a hardware
interrupt calls the Wake_Up_VM service for this virtual machine.
 
This service has no parameters.
 
Return Value
 
This service has no return value.
 
Comments
 
This service returns immediately (does nothing) if the current virtual
machine is the only one in the time-slice queue.
 
Virtual devices should use this service whenever the virtual machine is
idle. If the current virtual machine is a background virtual machine, this
service releases the time slice and decreases the execution time by -500
milliseconds. If the current virtual machine has the execution focus or is a
high-priority background virtual machine, this service releases the time
slice but does not adjust the execution time.
 
Uses
 
Flags
 
See Also
 
Adjust_Execution_Time, Get_Execution_Focus, Wake_Up_VM