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.)

Default

  • y

Kconfig definition

At <Zephyr>/kernel/Kconfig:442

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40

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.)