summaryrefslogtreecommitdiffstats
path: root/osdep/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/threads.h')
-rw-r--r--osdep/threads.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/threads.h b/osdep/threads.h
index fa9199d63d..2277fa65a1 100644
--- a/osdep/threads.h
+++ b/osdep/threads.h
@@ -16,4 +16,7 @@ int mpthread_cond_timedwait_rel(pthread_cond_t *cond, pthread_mutex_t *mutex,
// Helper to reduce boiler plate.
int mpthread_mutex_init_recursive(pthread_mutex_t *mutex);
+// Set thread name (for debuggers).
+void mpthread_set_name(const char *name);
+
#endif