diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-08 21:25:55 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-08 21:25:55 +0100 |
commit | 883af6aa527c4d0b43adc99c19e1cbb53153a7a0 (patch) | |
tree | ab4170eae8919f11855e3b8a69f13457b4fa601d /console-client/pc-kbd.c | |
parent | 7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff) |
Add names to threads
Diffstat (limited to 'console-client/pc-kbd.c')
-rw-r--r-- | console-client/pc-kbd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c index 9e03cff8..a637205f 100644 --- a/console-client/pc-kbd.c +++ b/console-client/pc-kbd.c @@ -785,6 +785,8 @@ read_keycode (void) static void * input_loop (void *unused) { + pthread_setname_np (pthread_self (), "kbd_input"); + #ifdef XKB_SUPPORT /* XXX: until conversion from scancode to keycode is properly implemented XKB won't work on anything but scancode set 1. |