diff options
Diffstat (limited to 'console-client/timer.c')
-rw-r--r-- | console-client/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/console-client/timer.c b/console-client/timer.c index 69cc643d..4abe1321 100644 --- a/console-client/timer.c +++ b/console-client/timer.c @@ -91,6 +91,8 @@ timer_function (void *this_is_a_pointless_variable_with_a_rather_long_name) mach_port_t recv = mach_reply_port (); int wait = 0; + pthread_setname_np (pthread_self (), "timer"); + timer_thread = mach_thread_self (); pthread_mutex_lock (&timer_lock); |