posix: deprecate POSIX_MQUEUE in favour of POSIX_MESSAGE_PASSING

This change deprecates CONFIG_POSIX_MQUEUE in favour of
CONFIG_POSIX_MESSAGE_PASSING, which maps directly to the name of the
standard POSIX Option.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2024-05-22 18:33:38 -04:00 committed by David Leach
commit f270de7362
12 changed files with 46 additions and 23 deletions

View file

@ -15,6 +15,15 @@ config MAX_TIMER_COUNT
Please use CONFIG_POSIX_TIMER_MAX instead.
config MSG_COUNT_MAX
int "Maximum number of messages in a POSIX message queue [DEPRECATED]"
default POSIX_MQ_OPEN_MAX if POSIX_MESSAGE_PASSING
default 0
help
This option is deprecated.
Please use CONFIG_POSIX_MQ_OPEN_MAX instead.
config POSIX_CLOCK
bool "clock and sleep APIs [DEPRECATED]"
select DEPRECATED
@ -75,6 +84,15 @@ config POSIX_MAX_OPEN_FILES
See also CONFIG_ZVFS_OPEN_MAX.
config POSIX_MQUEUE
bool "Message queue support [DEPRECATED]"
select DEPRECATED
select POSIX_MESSAGE_PASSING
help
This option is deprecated.
Please use CONFIG_POSIX_MESSAGE_PASSING instead.
config POSIX_SYSCONF
bool "Support for sysconf() [DEPRECATED]"
select DEPRECATED