Release time-slice (Win95 DOS session)
Posted on 1997-09-02
I need to run several DOS sessions on Windows 95 with programs that usually want to run for just 100 microseconds or so before releasing a time-slice.
I have tried using int 2F AX=1680 to release time-slices and had unacceptable results. Is there a better way to release time-slices or a system or session parameter that fixes the way 2F1680 works?
The main problem is that sessions which don't have the keyboard focus usually go away for at least a second on a single 2F1680 request. I need them to only go away for long enough to give every other session one time-slice. I have had partial success by doing a write to the screen for every 2F1680. This is imperfect for sessions that are visible but don't have the focus. More seriously, it is useless for sessions that are minimized. I want all sessions to get a turn every time around, regardless of whether they are minimized.