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-mouse.c | |
parent | 7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff) |
Add names to threads
Diffstat (limited to 'console-client/pc-mouse.c')
-rw-r--r-- | console-client/pc-mouse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/console-client/pc-mouse.c b/console-client/pc-mouse.c index 40a569d0..e6e8970d 100644 --- a/console-client/pc-mouse.c +++ b/console-client/pc-mouse.c @@ -246,7 +246,9 @@ input_loop (void *unused) kd_event *ev; vm_offset_t buf; mach_msg_type_number_t buf_size; - + + pthread_setname_np (pthread_self (), "mouse_input"); + while (1) { struct mouse_event evt = { 0 }; |