Subsystem.DefaultTimeQuantum Property

Accesses the configuration parameter that specifies the default Time Quantum, in microseconds, for newly created real-time threads. By default, wRTOS runs the highest-priority thread, either until completion or until it yields. There is no round robin scheduling within a given priority level. To make wRTOS perform time-sliced round robin scheduling within a priority level, set the default Time Quantum to a non-zero value. A value of 0 means the highest-priority thread runs until completion or until it yields (i.e., no round robin scheduling of threads within a given priority level). A non-zero value enables round robin scheduling of threads within a given priority level using the specified value as the Time Quantum. A non-zero value must be a multiple of the HAL timer period.

If this property is changed, the real-time Subsystem must be restarted for the change to take effect.

Namespace:  IntervalZero.MaxRT.wRTOS.Config
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public ulong DefaultTimeQuantum { get; set; }

Property Value

Type: UInt64

Implements

IConfigSubsystem.DefaultTimeQuantum

See Also: