The latest development version of this page may be more current than this released 2.7.5 version.

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 kernel/Kconfig:442

Included via Kconfig:8Kconfig.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.)