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 /boot/boot.c | |
parent | 7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff) |
Add names to threads
Diffstat (limited to 'boot/boot.c')
-rw-r--r-- | boot/boot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/boot.c b/boot/boot.c index d773bd1f..6ba0a736 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -778,6 +778,7 @@ main (int argc, char **argv, char **envp) void * __attribute__ ((noreturn)) msg_thread (void *arg) { + pthread_setname_np (pthread_self (), "msg"); while (1) mach_msg_server (boot_demuxer, 0, receive_set); } |