From c664b342a47e4b4650706d07e3e40a295e3a4407 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 4 May 2019 11:48:05 -0400 Subject: bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068) --- Python/thread_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/thread_pthread.h') diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 25f58d9446..1f4f36d52d 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")); -- cgit v1.2.1