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

gh-95174: Add pthread stubs for WASI (GH-95234) #95234

Merged
merged 6 commits into from Jul 27, 2022

Commits on Jul 27, 2022

  1. pythongh-95174: Add pthread stubs for WASI

    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.
    tiran committed Jul 27, 2022
  2. Apply suggestions from code review

    Co-authored-by: Brett Cannon <brett@python.org>
    tiran and brettcannon committed Jul 27, 2022
  3. regen pyconfig.h.in

    tiran committed Jul 27, 2022
  4. Drop last occurence of WASIX

    tiran committed Jul 27, 2022
  5. Check for signal.alarm

    tiran committed Jul 27, 2022
  6. WASI has no gethostname()

    tiran committed Jul 27, 2022