CONFIG_TIMESLICING

Thread time slicing

Type: bool

Help

This option enables time slicing between preemptible threads of equal priority.

Direct dependencies

SYS_CLOCK_EXISTS && NUM_PREEMPT_PRIORITIES != 0

(Includes any dependencies from ifs and menus.)

Defaults

  • y

Kconfig definition

At kernel/Kconfig:409

Included via Kconfig:10Kconfig.zephyr:36

Menu path: (Top) → General Kernel Options → Timer API Options

config TIMESLICING
    bool "Thread time slicing"
    default y
    depends on SYS_CLOCK_EXISTS && NUM_PREEMPT_PRIORITIES != 0
    help
      This option enables time slicing between preemptible threads of
      equal priority.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)