summaryrefslogtreecommitdiff
path: root/console-client/ncursesw.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-client/ncursesw.c
parent7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff)
Add names to threads
Diffstat (limited to 'console-client/ncursesw.c')
-rw-r--r--console-client/ncursesw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/console-client/ncursesw.c b/console-client/ncursesw.c
index 8e8962fd..ce62660c 100644
--- a/console-client/ncursesw.c
+++ b/console-client/ncursesw.c
@@ -293,6 +293,8 @@ input_loop (void *unused)
fd_set rfds;
int w_escaped = 0;
+ pthread_setname_np (pthread_self (), "input");
+
FD_ZERO (&rfds);
FD_SET (fd, &rfds);