zephyr/tests
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
..
application_development hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
arch arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
benchmarks modules: mbedtls: rename CONFIG_MBEDTLS_MAC_*_ENABLED and rm duplicates 2024-05-29 08:39:26 +02:00
bluetooth arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
boards tests/boards: Add mtk_adsp device test 2024-06-01 05:40:05 -07:00
boot tests: boot: Add nrf54l15pdk to platform_allow list in with_mcumgr tests 2024-06-04 13:41:29 +02:00
bsim Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cmake tests: cmake: overlays: Add soc_folder_overlay test 2024-04-29 15:08:35 +01:00
crypto random: enable AES support CTR_DRBG CSPRNG when it relies on Mbed TLS 2024-06-03 16:13:05 -04:00
drivers arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
kconfig/configdefault
kernel arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
lib posix: timers: deprecate CONFIG_POSIX_CLOCK and TIMER 2024-06-04 16:27:12 -05:00
misc build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
modules posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
net posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
posix posix: deprecate PTHREAD_IPC _MUTEX _COND and _KEY 2024-06-04 16:27:12 -05:00
robot resc: cmake: robot: Rename Renode variable 2024-05-28 12:54:52 +02:00
subsys arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
unit tests: unit: crc: Add OpenPGP CRC-24 tests 2024-05-29 10:51:21 -07:00
ztest arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
test_config.yaml