diff options
Diffstat (limited to 'libmachdev/trivfs_server.c')
-rw-r--r-- | libmachdev/trivfs_server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmachdev/trivfs_server.c b/libmachdev/trivfs_server.c index d2031974..2c905a63 100644 --- a/libmachdev/trivfs_server.c +++ b/libmachdev/trivfs_server.c @@ -26,6 +26,7 @@ #include <fcntl.h> #include <error.h> #include <sys/mman.h> +#include <pthread.h> #include <hurd/ports.h> #include <hurd/trivfs.h> #include <hurd/fsys.h> @@ -554,6 +555,7 @@ machdev_trivfs_server_startup(mach_port_t bootstrap) void * machdev_trivfs_server_loop(void *arg) { + pthread_setname_np (pthread_self (), "machdev_trivfs"); /* Launch. */ do { @@ -566,6 +568,7 @@ machdev_trivfs_server_loop(void *arg) void * machdev_trivfs_server_loop_forever(void *arg) { + pthread_setname_np (pthread_self (), "machdev_trivfs"); /* Launch. */ do { |