summaryrefslogtreecommitdiff
path: root/libirqhelp/irqhelp.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 /libirqhelp/irqhelp.c
parent7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff)
Add names to threads
Diffstat (limited to 'libirqhelp/irqhelp.c')
-rw-r--r--libirqhelp/irqhelp.c2
1 files changed, 2 insertions, 0 deletions
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");