aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-04 11:48:05 -0400
committerGitHub <noreply@github.com>2019-05-04 11:48:05 -0400
commitc664b342a47e4b4650706d07e3e40a295e3a4407 (patch)
tree960378ef676a7dc621be03f0b7744ce73a0948c0 /Python/thread_pthread.h
parentbpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990) (diff)
downloadcpython-c664b342a47e4b4650706d07e3e40a295e3a4407.tar.gz
cpython-c664b342a47e4b4650706d07e3e40a295e3a4407.tar.bz2
cpython-c664b342a47e4b4650706d07e3e40a295e3a4407.zip
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 25f58d9446d..1f4f36d52d5 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"));