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

@ -405,7 +405,7 @@ WaveViewDrawingThread::start ()
{
assert (!_thread);
_thread = PBD::Thread::create (&WaveViewThreads::thread_proc);
_thread = PBD::Thread::create (&WaveViewThreads::thread_proc, "WaveViewDrawing");
}
void
@ -477,8 +477,6 @@ WaveViewThreads::thread_proc ()
void
WaveViewThreads::_thread_proc ()
{
pthread_set_name ("WaveViewDrawing");
while (true) {
_queue_mutex.lock ();