From 883af6aa527c4d0b43adc99c19e1cbb53153a7a0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 8 Feb 2025 21:25:55 +0100 Subject: Add names to threads --- rumpdisk/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rumpdisk') diff --git a/rumpdisk/main.c b/rumpdisk/main.c index 0de01312..3676b472 100644 --- a/rumpdisk/main.c +++ b/rumpdisk/main.c @@ -117,6 +117,8 @@ static int rumpdisk_demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp) static void * rumpdisk_multithread_server(void *arg) { + pthread_setname_np (pthread_self (), "server"); + do { ports_manage_port_operations_multithread (machdev_device_bucket, -- cgit v1.2.3