diff options
author | Tom Tromey <tromey@redhat.com> | 2012-08-20 12:17:36 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-08-20 12:17:36 -0600 |
commit | 68608de20310c42c5719fe99e556847fac9dd1f2 (patch) | |
tree | b656eb2541a476f8f5afdbb710c61347e37bf864 /src/systhread.h | |
parent | fb77afbe75308507885113a56017f095da8ba1cc (diff) | |
download | emacs-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.h | 3 |
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); |