From a561dbeb194f9c642bcd95d6b974e42d82ea823f Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Mon, 17 Aug 2020 12:07:25 +0000 Subject: [PATCH] - set thread name in initializer git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@732 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- Source/JaySynth.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/JaySynth.cpp b/Source/JaySynth.cpp index faad96b..2ebb455 100644 --- a/Source/JaySynth.cpp +++ b/Source/JaySynth.cpp @@ -1586,9 +1586,8 @@ void JaySynthThread::run(void) } JaySynthThread::JaySynthThread(WaitableEvent *pEventRdy, voice_t *pVoices, int num_voices, int offset, int step) -: Thread(L"") +: Thread(L"JaySynthAudioThread_" + String(offset)) { - setCurrentThreadName(L"JaySynthAudioThread_" + String(offset)); m_pEventRdy = pEventRdy; m_num_voices = num_voices; m_pVoices = pVoices;