-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
Is your enhancement proposal related to a problem? Please describe.
According to the specs:
The Advanced Realtime Option Group is denoted by the symbolic constant _XOPEN_ADVANCED_REALTIME_THREADS.
...
If the symbolic constant _XOPEN_ADVANCED_REALTIME_THREADS is defined to have a value other than -1, then the following symbolic constants shall be defined by the implementation to have the value 200809L:_POSIX_THREAD_CPUTIME
_POSIX_THREAD_SPORADIC_SERVER
This Option Group seems to be missing from Subprofiling Considerations although it is clearly described in the specification.
Most of these Options are not owned by a proper POSIX or XSI Option Group so we can probably create one in Zephyr to cover them.
Describe the solution you'd like
Introduce a new CONFIG_XSI_ADVANCED_REALTIME_THREADS
Kconfig in Kconfig.xsi_advanced_realtime_threads
.
The chosen name follows that of other XOPEN Options that are also Option Groups listed in Subprofiling Considerations.
Describe alternatives you've considered
Leave it as-is, select each of the orphan options manually.
Additional context
#79816
More details about what each POSIX Option implies can be found here.
https://man7.org/linux/man-pages/man7/posixoptions.7.html