Skip to content

posix: sched: Implement sched_setparam() and sched_setscheduler() #67038

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

Closed

Conversation

moonlight83340
Copy link
Contributor

@moonlight83340 moonlight83340 commented Dec 28, 2023

Implement sched_setparam() and sched_setscheduler() POSIX APIs
as a part of PSE53 _POSIX_PRIORITY_SCHEDULING option group.

I start my draft from the pull request : #67028

Resolves : #66963
resolves : #66962

Add `pid_t` typedef for some configurations where it is missed.

Signed-off-by: Dmitrii Golovanov <[email protected]>
Add `CONFIG_POSIX_SCHED` Kconfig option to select APIs from
PSE53 `_POSIX_PRIORITY_SCHEDULING` option group.

Signed-off-by: Dmitrii Golovanov <[email protected]>
Implement `sched_getparam()` and `sched_getscheduler()` POSIX APIs
as a part of PSE53 `_POSIX_PRIORITY_SCHEDULING` option group.

Signed-off-by: Dmitrii Golovanov <[email protected]>
@moonlight83340 moonlight83340 force-pushed the sched_setparam branch 3 times, most recently from 4d3a047 to 0ef05f5 Compare December 28, 2023 02:00
@moonlight83340 moonlight83340 changed the title posix: sched: Implement sched_setparam() posix: sched: Implement sched_setparam() and sched_setscheduler() Dec 28, 2023
@moonlight83340 moonlight83340 force-pushed the sched_setparam branch 2 times, most recently from 60c7ac3 to 5331d82 Compare December 28, 2023 03:15
Implement `sched_setparam()`  and `sched_setscheduler()` POSIX APIs
as a part of PSE53 `_POSIX_PRIORITY_SCHEDULING` option group.

signed-off-by: Gaetan Perrot <[email protected]>
@golowanow
Copy link
Member

@moonlight83340 why you duplicate #67028 ?

@moonlight83340
Copy link
Contributor Author

@moonlight83340 why you duplicate #67028 ?

Sorry I wanted to continue with your work for base (That why it's a draft).

@golowanow
Copy link
Member

@moonlight83340 why you duplicate #67028 ?

Sorry I wanted to continue with your work for base (That why it's a draft).

then could you rename it and give some description ? just to avoid confusion

@moonlight83340
Copy link
Contributor Author

@moonlight83340 why you duplicate #67028 ?

Sorry I wanted to continue with your work for base (That why it's a draft).

then could you rename it and give some description ? just to avoid confusion

Okay, I will do that, thank you

@moonlight83340
Copy link
Contributor Author

@moonlight83340 why you duplicate #67028 ?

Sorry I wanted to continue with your work for base (That why it's a draft).

then could you rename it and give some description ? just to avoid confusion

Seems okay for you ?
The title was already different, I had description and that I take my start from your PR.

@moonlight83340 moonlight83340 deleted the sched_setparam branch January 30, 2024 07:58
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.

posix: implement sched_setscheduler() posix: implement sched_setparam()
2 participants