posix: reword aio and sched options. add experimental
The asynchronous I/O and (process) scheduling options needed
minor rewording.
Additionally, add the experimental flag to each of them since
they are not yet supported.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
diff --git a/lib/posix/options/Kconfig.aio b/lib/posix/options/Kconfig.aio
index 6fc3534..cf99ae1 100644
--- a/lib/posix/options/Kconfig.aio
+++ b/lib/posix/options/Kconfig.aio
@@ -3,8 +3,9 @@
# SPDX-License-Identifier: Apache-2.0
config POSIX_ASYNCHRONOUS_IO
- bool "Asynchronous IO"
+ bool "POSIX asynchronous I/O [EXPERIMENTAL]"
default y if POSIX_API
+ select EXPERIMENTAL
help
Enable this option for asynchronous I/O. This option is present for conformance purposes
only. All functions listed in <aio.h> return -1 and set errno to ENOSYS.
diff --git a/lib/posix/options/Kconfig.sched b/lib/posix/options/Kconfig.sched
index c6ea53b..f8dbbf6 100644
--- a/lib/posix/options/Kconfig.sched
+++ b/lib/posix/options/Kconfig.sched
@@ -2,10 +2,20 @@
#
# SPDX-License-Identifier: Apache-2.0
+menu "POSIX scheduler options"
+
config POSIX_PRIORITY_SCHEDULING
- bool "Priority scheduling"
- default y if POSIX_THREADS
+ bool "POSIX priority-based process scheduling [EXPERIMENTAL]"
default y if POSIX_API
- depends on POSIX_THREADS
+ select EXPERIMENTAL
help
This enables POSIX scheduling APIs (_POSIX_PRIORITY_SCHEDULING).
+
+ Since Zephyr does not yet support processes, most of this behaviour is undefined, except for
+ use of sched_get_priority_min() and sched_get_priority_max().
+
+ For more information, please see
+ https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_port.html#tag_24_03_04
+ https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_get_priority_max.html
+
+endmenu