-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support pthread scheduling functions for WASM #2754
Comments
Okay, waiting for 8 days seems enough, I'll add those. This is their implementation when emscripten is built with posix threads support: https://github.com/emscripten-core/emscripten/blob/e05e72d9c49fe15578e73934ce525a894d1b712a/system/lib/libc/musl/include/pthread.h#L100 |
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=Amanieu Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=<try> Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=<try> Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=<try> Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=<try> Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
…, r=<try> Add pthread_[s,g]etschedparam to emscripten. Closes #2754 The functions are available in emscripten when built with the posix threads support.
Help is still welcome for this from anyone who is interested, labeling hard based on #2764. Maybe our newer emscripten toolchain will do better here. |
According to emscripten, the pthread is supported.
I quickly went through the documentation and found many things out of it implemented but also a few things which aren't there, for example:
pthread_setschedparam
pthread_getschedparam
And a few others.
Is there any reason those aren't added? Maybe these, in particular, aren't supported for wasm and emscripten? Can I add those if those are supported?
P.S. Asking mainly due to the support of wasm has been asked for in the
thread-priority
crate.The text was updated successfully, but these errors were encountered: