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 --- libirqhelp/irqhelp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libirqhelp/irqhelp.c') diff --git a/libirqhelp/irqhelp.c b/libirqhelp/irqhelp.c index febf2a0c..5a563a19 100644 --- a/libirqhelp/irqhelp.c +++ b/libirqhelp/irqhelp.c @@ -178,6 +178,8 @@ irqhelp_server_loop(void *arg) mach_port_t pset, psetcntl; error_t err; + pthread_setname_np (pthread_self (), "irqhelp_server"); + if (!irq) { log_error("cannot start this irq thread\n"); -- cgit v1.2.3