RtcplSetTimeQuantum

The function RtcplSetTimeQuantum sets the default time quantum for all RTSS threads.

Syntax

BOOL RtcplSetTimeQuantum(
    DWORD Quantum
);

Parameters

Quantum

An integer (0 - unlimited) that specifies the time quantum in milliseconds. A value of 0 means that threads run to completion.

Return Values

A non-zero value if the function succeeds

Remarks

Changing this value requires a restart of the RTX Subsystem if it is running, as indicated by a GetLastError of ERROR_SUCCESS_RESTART_REQUIRED.

Related RTX Properties Control Panel Features

Tab

System tab

Dialog Box

Click the Settings button in the Behavior area to open the Behavior Settings dialog box.

Feature(s)

Time Quantum (milliseconds) option

Requirements

Header RtxProp.h
Library RtxProp.lib
IntervalZero.com | Support | Give Feedback