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 <Zephyr>/arch/Kconfig:291

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

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