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
Easily set real-time priority #3
Comments
Thank you for reporting an issue! I am going to look at it as I have time. As of now, I know that the error you have (
So, there is something related to priority which I pass to the function. I am going to work on it more but a bit later, just posting this info here for letting you know I got your problem. |
Thanks :) |
I am sorry, I realized I don't have a time to work on it this week. I already have guesses why this can happen but I have not tested it yet. I'll try doing it in the end of weekend or next week. |
Sorry, still have no time. Can't give you any forecast. |
This is caused by set_thread_priority not setting the scheduling policy as documented. See #5 for a fix. |
Thank you guys for participating in this. I have time now and see this has already been fixed. I am closing this, but if you have something to say or to fix in this issue, feel free to mention it. |
Hi vityafx, thanks for this useful crate :)
I'm trying to set the highest real-time highest priority for low-latency audio operation.
This always fails with:
Err value: Pthread(22)
, whereas this is fine:Also this code has the result expected, but it's surprising to have a numeric value.
How would you set the highest real-time priority ergonomically?
The text was updated successfully, but these errors were encountered: