From 68608de20310c42c5719fe99e556847fac9dd1f2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 20 Aug 2012 12:17:36 -0600 Subject: pass the thread name to the OS if possible use prctl to pass the thread name to the OS, if possible --- src/systhread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/systhread.h') diff --git a/src/systhread.h b/src/systhread.h index 790b385b7ff..bbd242ab93c 100644 --- a/src/systhread.h +++ b/src/systhread.h @@ -54,7 +54,8 @@ extern void sys_cond_destroy (sys_cond_t *); extern sys_thread_t sys_thread_self (void); extern int sys_thread_equal (sys_thread_t, sys_thread_t); -extern int sys_thread_create (sys_thread_t *, thread_creation_function *, +extern int sys_thread_create (sys_thread_t *, const char *, + thread_creation_function *, void *); extern void sys_thread_yield (void); -- cgit v1.2.1