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>
This commit is contained in:
parent
3f29b17bd1
commit
2e429f1b9d
2 changed files with 15 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue