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 --- console/display.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'console/display.c') diff --git a/console/display.c b/console/display.c index e4e3fcae..76a0f735 100644 --- a/console/display.c +++ b/console/display.c @@ -471,6 +471,8 @@ service_notifications (void *arg) struct port_bucket *notify_bucket = arg; extern int notify_server (mach_msg_header_t *inp, mach_msg_header_t *outp); + pthread_setname_np (pthread_self (), "notifications"); + for (;;) ports_manage_port_operations_one_thread (notify_bucket, notify_server, -- cgit v1.2.3