diff options
author | Christian Heimes <christian@python.org> | 2022-08-19 19:41:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 19:41:25 (GMT) |
commit | 822955c16654c22c10a993f5a94bbb68b857a150 (patch) | |
tree | bc5e794b0e35fd8aef071cfa8e9ec7c7d9e5a717 /Python | |
parent | 5bfb3c372bda1113aea1385d4793f073a1d37155 (diff) | |
download | cpython-822955c16654c22c10a993f5a94bbb68b857a150.zip cpython-822955c16654c22c10a993f5a94bbb68b857a150.tar.gz cpython-822955c16654c22c10a993f5a94bbb68b857a150.tar.bz2 |
gh-96125: Fix sys.thread_info.name on pthread platforms (GH-96126)
Automerge-Triggered-By: GH:tiran
Diffstat (limited to 'Python')
-rw-r--r-- | Python/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread.c b/Python/thread.c index e206a69..8c8a4e8 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -59,7 +59,7 @@ PyThread_init_thread(void) # define PYTHREAD_NAME "pthread-stubs" # include "thread_pthread_stubs.h" #elif defined(_POSIX_THREADS) -# if defined(__EMSCRIPTEN__) || !defined(__EMSCRIPTEN_PTHREADS__) +# if defined(__EMSCRIPTEN__) && !defined(__EMSCRIPTEN_PTHREADS__) # define PYTHREAD_NAME "pthread-stubs" # else # define PYTHREAD_NAME "pthread" |