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

Maximum pthread count in POSIX application

Type: int

Help

Mention maximum number of threads in POSIX compliant application.

Direct dependencies

PTHREAD_IPC && POSIX_API

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At lib/posix/Kconfig:32

Included via Kconfig:10Kconfig.zephyr:37lib/Kconfig:19

Menu path: (top menu) → Additional libraries

config MAX_PTHREAD_COUNT
    int
    prompt "Maximum pthread count in POSIX application" if PTHREAD_IPC && POSIX_API
    range 0 255 if PTHREAD_IPC && POSIX_API
    default 5 if PTHREAD_IPC && POSIX_API
    depends on PTHREAD_IPC && POSIX_API
    help
      Mention maximum number of threads in POSIX compliant application.

(Definitions include propagated dependencies, including from if’s and menus.)