summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-04 15:48:05 (GMT)
committerGitHub <noreply@github.com>2019-05-04 15:48:05 (GMT)
commitc664b342a47e4b4650706d07e3e40a295e3a4407 (patch)
tree960378ef676a7dc621be03f0b7744ce73a0948c0 /Python/thread_pthread.h
parent6b5b013bcc22a27d6231c2796882e44ddb42be67 (diff)
downloadcpython-c664b342a47e4b4650706d07e3e40a295e3a4407.zip
cpython-c664b342a47e4b4650706d07e3e40a295e3a4407.tar.gz
cpython-c664b342a47e4b4650706d07e3e40a295e3a4407.tar.bz2
bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068)
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r--Python/thread_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 25f58d9..1f4f36d 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -302,7 +302,7 @@ PyThread_get_thread_ident(void)
return (unsigned long) threadid;
}
-void
+void _Py_NO_RETURN
PyThread_exit_thread(void)
{
dprintf(("PyThread_exit_thread called\n"));