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.
Default¶
- 2 
Kconfig definition¶
At <Zephyr Architecture>/Kconfig:332
Included via Kconfig:8 → Kconfig.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.)