Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

An adjustable round robin variable

Overview

Previously, a thread that has the round robin scheduling policy (SCHED_RR) may run for at most four scheduler ticks before being eligible for preemption by another thread with the same priority. This hard coded value (four ticks) is now a kernel variable.

Configuration

When it's added to the system page, you can set this variable at boot time by specifying a desired value in the rr_interval_mul field of the struct called qtime_entry. Typically, this code is included in the init_qtime() function.