summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pthread_stubs.h
Commit message (Collapse)AuthorAgeFilesLines
* GH-110829: Ensure Thread.join() joins the OS thread (#110848)Antoine Pitrou2023-11-041-0/+1
| | | | | | | Joining a thread now ensures the underlying OS thread has exited. This is required for safer fork() in multi-threaded processes. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-110014: Include explicitly <unistd.h> header (#110155)Victor Stinner2023-09-301-7/+23
| | | | | | | | | | | * Remove unused <locale.h> includes. * Remove unused <fcntl.h> include in traceback.h. * Remove redundant <assert.h> and <stddef.h> includes. They are already included by "Python.h". * Remove <object.h> include in faulthandler.c. Python.h already includes it. * Add missing <stdbool.h> in pycore_pythread.h if HAVE_PTHREAD_STUBS is defined. * Fix also warnings in pthread_stubs.h: don't redefine macros if they are already defined, like the __NEED_pthread_t macro.
* gh-95174: Add pthread stubs for WASI (GH-95234)Christian Heimes2022-07-271-0/+88
Co-authored-by: Brett Cannon <brett@python.org>