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
gh-95174: Add pthread stubs for WASI (GH-95234) #95234
Conversation
If you want to schedule another build, you need to add the " |
The changeset breaks |
Neither WASI nor default builds with Emscripten have support for threading. While Emscripten comes with pthread stubs, WASI-SDK 16 and earlier are lacking stubs. Python initially used WASIX stubs to provide pthread stubs. This changeset introduces stubs modelled after Emscripten's stubs. Emscripten without pthread emulation now has ``sys.thread_info.name`` ``pthread-stubs``, too.
Co-authored-by: Brett Cannon <brett@python.org>
Thanks @tiran for the PR |
Sorry, @tiran, I could not cleanly backport this to |
Thanks @tiran for the PR |
Sorry, @tiran, I could not cleanly backport this to |
Co-authored-by: Brett Cannon <brett@python.org>. (cherry picked from commit 0fe645d) Co-authored-by: Christian Heimes <christian@python.org>
GH-95503 is a backport of this pull request to the 3.11 branch. |
This PR introduces an incorrect condition, please see my comment in the code. |
Could you please open a new ticket? Issues are easier to track than comments on closed PRs. |
|
Neither WASI nor default builds with Emscripten have support for
threading. While Emscripten comes with pthread stubs, WASI-SDK 16 and
earlier are lacking stubs.
Python initially used WASIX stubs to provide pthread stubs. This
changeset introduces stubs modelled after Emscripten's stubs.
Emscripten without pthread emulation now has
sys.thread_info.name
pthread-stubs
, too.