posix: deprecate PTHREAD_SPINLOCK for POSIX_SPIN_LOCKS

This change deprecates CONFIG_PTHREAD_SPINLOCK in favour of
CONFIG_POSIX_SPIN_LOCKS, which maps directly to the name of the
standard POSIX Option Group.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2024-05-22 18:16:30 -04:00 committed by David Leach
commit 4e181f7031
7 changed files with 37 additions and 9 deletions

View file

@ -102,6 +102,15 @@ config PTHREAD_BARRIER
Please use CONFIG_POSIX_BARRIERS instead.
config PTHREAD_SPINLOCK
bool "pthread_spinlock_t support [DEPRECATED]"
select DEPRECATED
select POSIX_SPIN_LOCKS
help
This option is deprecated.
Please use CONFIG_POSIX_SPIN_LOCKS instead.
config TIMER
bool "Timer support [DEPRECATED]"
select DEPRECATED