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 /trans | |
parent | 7ac18bc84ae7c5a5f2f255b6d5337eb085bb86cd (diff) |
Add names to threads
Diffstat (limited to 'trans')
-rw-r--r-- | trans/random.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trans/random.c b/trans/random.c index 7e3d3eba..5142cb15 100644 --- a/trans/random.c +++ b/trans/random.c @@ -248,6 +248,8 @@ gather_vm_cache_statistics (void) static void * gather_thread (void *args) { + pthread_setname_np (pthread_self (), "gather"); + while (1) { gather_slab_info (); |