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

question: Has anyone tested thread-priority with WASM? #17

Open
pratikpparikh opened this issue Jan 23, 2022 · 4 comments
Open

question: Has anyone tested thread-priority with WASM? #17

pratikpparikh opened this issue Jan 23, 2022 · 4 comments

Comments

@pratikpparikh
Copy link

Has anyone tested thread-priority with WASM?

@iddm
Copy link
Owner

iddm commented Jan 23, 2022

That is a good question and I have never had anything even remotely connected to WASM, so I literally have no idea. Let's wait until someone else answer this question.

@iddm
Copy link
Owner

iddm commented Jan 23, 2022

According to the information I have found, it should work, but the crate can't be built right now due to libc not supporting the necessary functions for it to work: pthread_setschedparam and pthread_getschedparam.

@pratikpparikh
Copy link
Author

Thank you, @vityafx. It might be great to have that support added.

@iddm
Copy link
Owner

iddm commented Feb 2, 2023

I am sorry to say this, but I have stopped attempting to bring support for WASM. If it happens that libc finally builds with these functions for emscripten, it will work automatically with it.

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

No branches or pull requests

2 participants