diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-08-21 16:37:15 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-21 16:37:15 (GMT) |
| commit | 27f390bc308870732785905b15d72d4811233110 (patch) | |
| tree | 7c2a914ca9ce77717cc3852d848e3beef7abcda2 /Python/thread.c | |
| parent | 58e1fe24c71a865a60bc9975c664dabba77f8588 (diff) | |
| download | cpython-27f390bc308870732785905b15d72d4811233110.zip cpython-27f390bc308870732785905b15d72d4811233110.tar.gz cpython-27f390bc308870732785905b15d72d4811233110.tar.bz2 | |
gh-96125: Fix sys.thread_info.name on pthread platforms (GH-96126) (#96128)
Automerge-Triggered-By: GH:tiran
(cherry picked from commit 822955c16654c22c10a993f5a94bbb68b857a150)
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Python/thread.c')
| -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 08bcdda..940d8b8 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -97,7 +97,7 @@ _PyThread_debug_deprecation(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" |
