Setting the Time Quantum

RTX is configured to run the highest-priority thread, either until completion or until it yields. There is no round robin within a given priority level. To change this behavior and have RTX provide time slices within a priority level, set the default time quantum for all RTSS threads.

To set the time quantum:

  1. Open the RTX Properties Control Panel and click the System tab.
  2. Click Settings to display the Behavior Settings dialog box.


  3. Enter a positive integer value in the Time quantum (milliseconds) box. A value of 0 (default) means that threads run to completion.
  4. NOTE:  An RTSS application can set its own Time Quantum through the use of RTAPI functions.

  5. Click OK.
  6. Restart RTX for your changes to take effect.

 

See Also

IntervalZero.com | Support | Give Feedback