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

Add dummy implementations for shm_open pthread_setaffinity_np and RLIMIT_RTPRIO #13420

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

Fix-Point
Copy link
Contributor

Summary

Added dummy implementations for shm_open and shm_unlink.
Added a dummy implementation for pthread_setaffinity_np when CONFIG_SMP is disabled.
Added definitions for RLIMIT_RTPRIO and RLIMIT_RTTIME.

Impact

Dummy implementations for shm_open and shm_unlink are now available.
pthread_setaffinity_np is supported in configurations with CONFIG_SMP disabled.
RLIMIT_RTPRIO and RLIMIT_RTTIME are now defined.

Testing

Tested on x86 QEMU and NUC12.

This commit add the definition of RLIMIT_RTPRIO and RLIMIT_RTTIME.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This patch added dummy pthread_setaffinity_np implementation if CONFIG_SMP is disabled.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This patch added dummy implementations of shm_open and shm_unlink.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
@Fix-Point Fix-Point changed the title Mybran7 Add dummy implementations for shm_open pthread_setaffinity_np and RLIMIT_RTPRIO Sep 13, 2024
@xiaoxiang781216 xiaoxiang781216 merged commit dd88c7f into apache:master Sep 13, 2024
28 checks passed
@Fix-Point Fix-Point deleted the mybran7 branch October 15, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants