bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)
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(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);