diff options
Diffstat (limited to 'tmpfs/tmpfs.c')
-rw-r--r-- | tmpfs/tmpfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c index d28806a3..08356803 100644 --- a/tmpfs/tmpfs.c +++ b/tmpfs/tmpfs.c @@ -22,6 +22,7 @@ #include <string.h> #include <inttypes.h> #include <error.h> +#include <pthread.h> #include "tmpfs.h" #include <limits.h> @@ -297,6 +298,8 @@ diskfs_thread_function (void *demuxer) static int thread_timeout = 1000 * 60 * 2; /* two minutes */ error_t err; + pthread_setname_np (pthread_self (), "diskfs"); + do { ports_manage_port_operations_multithread (diskfs_port_bucket, |