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

Maximum semaphore limit

Type: int

Help

Maximum semaphore count 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:39

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

Menu path: (top menu) → Additional libraries

config SEM_VALUE_MAX
    int
    prompt "Maximum semaphore limit" if PTHREAD_IPC && POSIX_API
    range 1 32767 if PTHREAD_IPC && POSIX_API
    default 32767 if PTHREAD_IPC && POSIX_API
    depends on PTHREAD_IPC && POSIX_API
    help
      Maximum semaphore count in POSIX compliant Application.

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