summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJake Tesler <jake.tesler@gmail.com>2019-05-12 17:08:24 (GMT)
committerAntoine Pitrou <antoine@python.org>2019-05-12 17:08:24 (GMT)
commit4959c33d2555b89b494c678d99be81a65ee864b0 (patch)
tree87df7778f170864ef1efe3418ac3cb3c47051c50 /Include
parent87068ed00927bdeaa2ae556e4241c16cf8a845eb (diff)
downloadcpython-4959c33d2555b89b494c678d99be81a65ee864b0.zip
cpython-4959c33d2555b89b494c678d99be81a65ee864b0.tar.gz
cpython-4959c33d2555b89b494c678d99be81a65ee864b0.tar.bz2
bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)
Diffstat (limited to 'Include')
-rw-r--r--Include/pythread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pythread.h b/Include/pythread.h
index bc1d92c..e083383 100644
--- a/Include/pythread.h
+++ b/Include/pythread.h
@@ -25,6 +25,7 @@ PyAPI_FUNC(void) PyThread_init_thread(void);
PyAPI_FUNC(unsigned long) PyThread_start_new_thread(void (*)(void *), void *);
PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void);
PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void);
+PyAPI_FUNC(unsigned long) PyThread_get_thread_native_id(void);
PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void);
PyAPI_FUNC(void) PyThread_free_lock(PyThread_type_lock);