-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add schedule params & priority pthread functions #611
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
Conversation
505bef7
to
cb03e62
Compare
I see the problem but will provide a fix only next week... |
Looks good to me! I'll r+ once CI is green |
As from what I have found in the Google |
e0db052
to
192a245
Compare
c645bc1
to
a75fef0
Compare
@alexcrichton even though this was compiled successfully I am still not sure did I find the correct place for it or not. It seems each system decides own rules how to follow POSIX :/ But from what I have seen I think |
Ok this seems good for now regardless, thanks for the PR! @bors: r+ |
📌 Commit fbec8eb has been approved by |
…ichton Add schedule params & priority pthread functions Fixes #609. Provides bindings to `pthread_getschedparam`, `pthread_setschedparam` and `pthread_setschedprio` functions. P.S. My first PR in such a project. P.P.S. `libc-test` crashed at building stage with a lot of errors, so I hope `travis` will do a check. P.P.P.S. These functions are tested to work on Linux (Ubuntu 14.04) with my own crate. I will release it next week, it provides ability to control thread schedule policies and priorities.
@alexcrichton I see that |
☀️ Test successful - status-appveyor, status-travis |
Ah no worries! |
Fixes #609. Provides bindings to
pthread_getschedparam
,pthread_setschedparam
andpthread_setschedprio
functions.P.S. My first PR in such a project.
P.P.S.
libc-test
crashed at building stage with a lot of errors, so I hopetravis
will do a check.P.P.P.S. These functions are tested to work on Linux (Ubuntu 14.04) with my own crate. I will release it next week, it provides ability to control thread schedule policies and priorities.