aboutsummaryrefslogtreecommitdiff
path: root/ports/winnt/include/clockstuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/winnt/include/clockstuff.h')
-rw-r--r--ports/winnt/include/clockstuff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/winnt/include/clockstuff.h b/ports/winnt/include/clockstuff.h
index df8569935094..5337c8c62feb 100644
--- a/ports/winnt/include/clockstuff.h
+++ b/ports/winnt/include/clockstuff.h
@@ -39,6 +39,12 @@ typedef void (WINAPI *PGSTAFT)(LPFILETIME pftResult);
extern PGSTAFT get_sys_time_as_filetime;
extern PGSTAFT pGetSystemTimePreciseAsFileTime;
+/* This should really be in a ntpd_win.h or similar:
+ * Set thread description visible in debugger.
+ */
+typedef HRESULT (WINAPI *PSTD)(HANDLE hThread, PCWSTR pwstr);
+extern PSTD pSetThreadDescription;
+
void lock_thread_to_processor(HANDLE);
#endif