I am trying to use Windows 98 to run a time critical application. How can I control the scheduler to make Windows 98 to act more like real time OS?
Windows 95/98 is not a best choice for the real time OS, but if you are stuck with it there are several services you should know about:
Set_Time_Slice_Granularity service sets the minimum time-slice granularity, the minimum time a virtual machine can rut before being rescheduled.
Set_Time_Slice_Priority service sets the time-slice execution flags, and the foreground and background priorities for a specified virtual machine.
Adjust_Exec_Priority service raises or lowers the execution priority of the specified virtual machine.