bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068)

This commit is contained in:
Victor Stinner 2019-05-04 11:48:05 -04:00 committed by GitHub
parent 6b5b013bcc
commit c664b342a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 15 deletions

View file

@ -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"));