diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-04 15:48:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-04 15:48:05 (GMT) |
commit | c664b342a47e4b4650706d07e3e40a295e3a4407 (patch) | |
tree | 960378ef676a7dc621be03f0b7744ce73a0948c0 /Include/pythread.h | |
parent | 6b5b013bcc22a27d6231c2796882e44ddb42be67 (diff) | |
download | cpython-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 'Include/pythread.h')
-rw-r--r-- | Include/pythread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythread.h b/Include/pythread.h index eb61033..bc1d92c 100644 --- a/Include/pythread.h +++ b/Include/pythread.h @@ -23,7 +23,7 @@ typedef enum PyLockStatus { PyAPI_FUNC(void) PyThread_init_thread(void); PyAPI_FUNC(unsigned long) PyThread_start_new_thread(void (*)(void *), void *); -PyAPI_FUNC(void) PyThread_exit_thread(void); +PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void); PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void); |