summaryrefslogtreecommitdiff
path: root/console/display.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-08 21:25:55 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-08 21:25:55 +0100
commit883af6aa527c4d0b43adc99c19e1cbb53153a7a0 (patch)
treeab4170eae8919f11855e3b8a69f13457b4fa601d /console/display.c
parent7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff)
Add names to threads
Diffstat (limited to 'console/display.c')
-rw-r--r--console/display.c2
1 files changed, 2 insertions, 0 deletions
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,