summaryrefslogtreecommitdiff
path: root/lwip
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 /lwip
parent7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff)
Add names to threads
Diffstat (limited to 'lwip')
-rw-r--r--lwip/port/netif/hurdethif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lwip/port/netif/hurdethif.c b/lwip/port/netif/hurdethif.c
index f2103566..84eb7db7 100644
--- a/lwip/port/netif/hurdethif.c
+++ b/lwip/port/netif/hurdethif.c
@@ -544,6 +544,8 @@ hurdethif_device_init (struct netif *netif)
static void *
hurdethif_input_thread (void *arg)
{
+ pthread_setname_np (pthread_self (), "input");
+
ports_manage_port_operations_one_thread (etherport_bucket,
hurdethif_demuxer, 0);