diff options
Diffstat (limited to 'libdiskfs/init-first.c')
-rw-r--r-- | libdiskfs/init-first.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/init-first.c b/libdiskfs/init-first.c index 8f27eff8..0683552d 100644 --- a/libdiskfs/init-first.c +++ b/libdiskfs/init-first.c @@ -21,6 +21,7 @@ #include "priv.h" #include <stdlib.h> +#include <pthread.h> #include <hurd/ports.h> static int thread_timeout = 1000 * 60 * 2; /* two minutes */ @@ -32,6 +33,8 @@ master_thread_function (void *demuxer) { error_t err; + pthread_setname_np (pthread_self (), "diskfs"); + do { ports_manage_port_operations_multithread (diskfs_port_bucket, |