Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix: options: create XSI_ADVANCED_REALTIME_THREADS Option Group #86066

Open
cfriedt opened this issue Feb 20, 2025 · 0 comments
Open

posix: options: create XSI_ADVANCED_REALTIME_THREADS Option Group #86066

cfriedt opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
area: POSIX POSIX API Library Enhancement Changes/Updates/Additions to existing features

Comments

@cfriedt
Copy link
Member

cfriedt commented Feb 20, 2025

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

@cfriedt cfriedt added Enhancement Changes/Updates/Additions to existing features area: POSIX POSIX API Library labels Feb 20, 2025
@cfriedt cfriedt self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

1 participant