summaryrefslogtreecommitdiff
path: root/src/systhread.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-08-20 12:17:36 -0600
committerTom Tromey <tromey@redhat.com>2012-08-20 12:17:36 -0600
commit68608de20310c42c5719fe99e556847fac9dd1f2 (patch)
treeb656eb2541a476f8f5afdbb710c61347e37bf864 /src/systhread.h
parentfb77afbe75308507885113a56017f095da8ba1cc (diff)
downloademacs-68608de20310c42c5719fe99e556847fac9dd1f2.tar.gz
pass the thread name to the OS if possible
use prctl to pass the thread name to the OS, if possible
Diffstat (limited to 'src/systhread.h')
-rw-r--r--src/systhread.h3
1 files changed, 2 insertions, 1 deletions
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);