CONFIG_MAX_PTHREAD_COUNT

Maximum simultaneously active pthread count in POSIX application

Type: int

Help

Maximum number of simultaneously active threads in a POSIX application.

Direct dependencies

PTHREAD_IPC

(Includes any dependencies from ifs and menus.)

Default

  • 5

Kconfig definition

At lib/posix/Kconfig:28

Included via Kconfig:8Kconfig.zephyr:42lib/Kconfig:16

Menu path: (Top) → Additional libraries → POSIX pthread IPC API

config MAX_PTHREAD_COUNT
    int "Maximum simultaneously active pthread count in POSIX application"
    range 0 255
    default 5
    depends on PTHREAD_IPC
    help
      Maximum number of simultaneously active threads in a POSIX application.

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