Releasing the Time Slice

MS-DOS applications can also use the Interrupt 2Fh service functions. In particular, applications can use Release Current VM Time Slice (Interrupt 2Fh Function 1680h) to release the current virtual machine's time slice. An MS-DOS application typically uses this function when waiting for user input. This function helps Windows multitask more efficiently by letting it reschedule the CPU for other work immediately, rather than waiting for the idle application to spend its entire time slice.