zephyr/modules
Chris Friedt fcebe60090 posix: deprecate PTHREAD_IPC _MUTEX _COND and _KEY
Zephyr's POSIX API is moving toward using the standard
nomenclature from IEEE 1003.1-2017 for as much as possible. In
particular, we want to have consistent naming between Zephyr's
POSIX API Kconfig options and the naming for POSIX Options and
Option Groups.

The Kconfig option CONFIG_PTHREAD_IPC has been (ab)used for a
very long time for a variety of different purposes. However,
the standard Option / feature test macro for POSIX Threads is,
intuitively _POSIX_THREADS. There is a corresponding sysconf()
key named _SC_POSIX_THREADS.

Annoyingly, the POSIX Option Group that corresponds to the
Option is POSIX_THREADS_BASE, which is a minor inconsistency
in the standard.

The _POSIX_THREADS Option already includes mutexes, condition
variables, and thread-specific storage (keys). So with this
change, we also deprecate the redundant Kconfig variables that
do not have a corresponding match in the standard.

- CONFIG_PTHREAD_IPC
- CONFIG_PTHREAD
- CONFIG_PTHREAD_COND
- CONFIG_PTHREAD_MUTEX
- CONFIG_PTHREAD_KEY

Additionally, create Kconfig variables for those configurables
which we are lacking:

- CONFIG_POSIX_THREADS_EXT
- CONFIG_POSIX_THREAD_ATTR_STACKSIZE
- CONFIG_POSIX_THREAD_ATTR_STACKADDR
- CONFIG_POSIX_THREAD_PRIORITY_SCHEDULING
- CONFIG_POSIX_THREAD_PRIO_INHERIT
- CONFIG_POSIX_THREAD_PRIO_PROTECT
- CONFIG_POSIX_THREAD_SAFE_FUNCTIONS

Some Kconfig variables were renamed to more properly match the spec:

- CONFIG_MAX_PTHREAD_COUNT -> CONFIG_POSIX_THREAD_THREADS_MAX
- CONFIG_MAX_PTHREAD_KEY_COUNT -> CONFIG_POSIX_THREAD_KEYS_MAX

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-06-04 16:27:12 -05:00
..
acpica modules: acpica: Fix CMakeLists.txt style 2023-11-08 15:12:02 +00:00
canopennode drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
cmsis arch: arm: remove aarch32 from include header guards 2023-12-12 18:47:57 +00:00
cmsis-dsp modules: cmsis-dsp: re-add compilation control 2024-02-01 14:49:03 -06:00
cmsis-nn
fatfs
hal_ambiq drivers: spi: create Ambiq SPI BLEIF driver 2024-05-27 03:27:43 -07:00
hal_ethos_u modules: hal_ethos_u: add support for log level NONE 2024-03-21 09:07:35 +01:00
hal_gigadevice modules: hal_gigadevice: use CONFIG_${ARCH} to select components 2024-01-10 15:05:54 +01:00
hal_infineon boards: arm: Introduce Infineon CYW920829M2EVK-02 board 2024-05-24 18:05:11 -04:00
hal_nordic modules: hal_nordic: require nrf-regtool 5.3.0 2024-05-30 05:20:50 -07:00
hal_nxp hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
hal_rpi_pico drivers: rtc: rpi_pico: Add support for the Raspberry Pi Pico RTC 2024-03-06 10:08:48 +00:00
hal_st drivers: sensor: lis2dux12: Add lis2dux12 driver 2024-04-04 09:45:49 +01:00
hostap posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
liblc3
littlefs
loramac-node lorawan: services: add Fragmented Data Block Transport 2024-05-02 16:54:43 +02:00
lvgl modules: lvgl: lvgl_fs: Free file on close 2024-06-04 14:07:16 -05:00
lz4
mbedtls modules: mbedtls: remove the default enabling of features 2024-05-31 16:33:06 -05:00
nanopb modules: nanopb: Pull upstream fixes 2024-05-07 21:22:43 -04:00
openthread drivers: ieee802154: fix configuring CSL IE in ACK 2024-04-03 13:57:50 +03:00
percepio west: percepio: update module 2024-03-19 06:50:19 -04:00
segger modules: segger: Add Kconfig option to use CCM for data 2024-04-17 14:38:54 +02:00
tflite-micro
thrift
trusted-firmware-a
trusted-firmware-m modules: tf-m: support MCUboot signature types other than RSA-3072 2024-05-29 04:56:40 -07:00
uoscore-uedhoc tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
zcbor modules/zcbor: Fix implicit function declaration warning 2024-01-26 07:48:55 -05:00
Kconfig drivers/sensor: fix some ST drivers dependency to HAL_ST module 2024-01-12 12:55:46 +01:00
Kconfig.altera
Kconfig.atmel hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.chre
Kconfig.cypress
Kconfig.eos_s3
Kconfig.esp32 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.imx hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.infineon hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.intel
Kconfig.libmetal
Kconfig.mcuboot mcuboot: Remove OVERWRITE_ONLY from DIRECT_XIP modes. 2024-05-08 12:04:45 +02:00
Kconfig.mcux modules: Add Kconfig to Kconfig.mcux for BLE support 2024-05-25 11:23:04 +03:00
Kconfig.microchip soc: microchip: mec: Add new HAL based MEC5 family chips 2024-05-21 16:45:30 -04:00
Kconfig.nuvoton drivers: rtc: support for Nuvoton numaker m46x 2024-04-30 14:31:29 -04:00
Kconfig.nxp_s32
Kconfig.open-amp
Kconfig.picolibc
Kconfig.silabs hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.simplelink posix: deprecate PTHREAD_IPC _MUTEX _COND and _KEY 2024-06-04 16:27:12 -05:00
Kconfig.sof
Kconfig.stm32 modules: Kconfig.stm32: Add Kconfig symbol for RAMCFG 2023-12-18 17:31:08 +00:00
Kconfig.sysbuild
Kconfig.syst
Kconfig.telink
Kconfig.tinycrypt
Kconfig.vega hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.wurthelektronik
Kconfig.xtensa
modules.cmake