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

Defaults

  • 2

Kconfig definition

At arch/Kconfig:221

Included via Kconfig:10Kconfig.zephyr:34

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