diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-29 14:56:22 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-29 14:56:22 +0200 |
commit | c365c6cdb28a4be958cd8405039f6a588d1af21f (patch) | |
tree | 69666098246106076876a48066d78849735ec8fc /libs/zita-convolver | |
parent | d6a38d545089b8e2d5be54e3f8e9ed497234c2ef (diff) |
Set thread-names (libs)
Diffstat (limited to 'libs/zita-convolver')
-rw-r--r-- | libs/zita-convolver/zita-convolver.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/zita-convolver/zita-convolver.cc b/libs/zita-convolver/zita-convolver.cc index eb7d6603e1..20971c99e6 100644 --- a/libs/zita-convolver/zita-convolver.cc +++ b/libs/zita-convolver/zita-convolver.cc @@ -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; } |