We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7025f5 commit 3689044Copy full SHA for 3689044
Modules/_threadmodule.c
@@ -75,6 +75,10 @@ get_thread_state_by_cls(PyTypeObject *cls)
75
return get_thread_state(module);
76
}
77
78
+// Declarations for thread name handling
79
+static int set_native_thread_name(const char *name);
80
+static PyObject *encode_thread_name(PyObject *name_obj, const char *encoding);
81
+
82
#ifdef MS_WINDOWS
83
typedef HRESULT (WINAPI *PF_GET_THREAD_DESCRIPTION)(HANDLE, PCWSTR*);
84
typedef HRESULT (WINAPI *PF_SET_THREAD_DESCRIPTION)(HANDLE, PCWSTR);
0 commit comments