Let PBD::Thread set thread-name

This commit is contained in:
Robin Gareus 2024-09-28 00:14:45 +02:00
parent 538a8cbccc
commit 88a24ae8e5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
23 changed files with 13 additions and 55 deletions

View file

@ -98,7 +98,7 @@ Downloader::start ()
_cancel = false;
_status = 0; /* unknown at this point */
return 0 != (thread = PBD::Thread::create (boost::bind (&Downloader::download, this)));
return 0 != (thread = PBD::Thread::create (boost::bind (&Downloader::download, this), "Downloader"));
}
void