Set thread-names (libs)

This commit is contained in:
Robin Gareus 2020-03-29 14:56:22 +02:00
parent d6a38d5450
commit c365c6cdb2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
16 changed files with 33 additions and 3 deletions

View file

@ -680,6 +680,9 @@ void*
Convlevel::static_main (void* arg)
{
((Convlevel*)arg)->main ();
#if !defined PTW32_VERSION && defined _GNU_SOURCE
pthread_setname_np (pthread_self(), "ZConvlevel");
#endif
return 0;
}