:orphan: .. title:: CONFIG_TIMESLICE_SIZE .. kconfig:: CONFIG_TIMESLICE_SIZE CONFIG_TIMESLICE_SIZE ##################### *Time slice size (in ms)* Type: ``int`` Help ==== .. code-block:: none This option specifies the maximum amount of time a thread can execute before other threads of equal priority are given an opportunity to run. A time slice size of zero means "no limit" (i.e. an infinitely large time slice). Direct dependencies =================== \ :kconfig:`TIMESLICING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 0 Kconfig definition ================== At ``/Kconfig:450`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options → Timer API Options → Thread time slicing .. code-block:: kconfig config TIMESLICE_SIZE int "Time slice size (in ms)" range 0 2147483647 default 0 depends on TIMESLICING help This option specifies the maximum amount of time a thread can execute before other threads of equal priority are given an opportunity to run. A time slice size of zero means "no limit" (i.e. an infinitely large time slice). *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*