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

CONFIG_MAX_THREAD_BYTES

Bytes to use when tracking object thread permissions

Type: int

Help

Every kernel object will have an associated bitfield to store
thread permissions for that object. This controls the size of the
bitfield (in bytes) and imposes a limit on how many threads can
be created in the system.

Direct dependencies

USERSPACE

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At arch/Kconfig:332

Included via Kconfig:8Kconfig.zephyr:39

Menu path: (Top) → General Architecture Options

config MAX_THREAD_BYTES
    int "Bytes to use when tracking object thread permissions"
    default 2
    depends on USERSPACE
    help
      Every kernel object will have an associated bitfield to store
      thread permissions for that object. This controls the size of the
      bitfield (in bytes) and imposes a limit on how many threads can
      be created in the system.

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