- set thread name in initializer

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@732 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2020-08-17 12:07:25 +00:00
parent 0e77236f70
commit a561dbeb19
+1 -2
View File
@@ -1586,9 +1586,8 @@ void JaySynthThread::run(void)
} }
JaySynthThread::JaySynthThread(WaitableEvent *pEventRdy, voice_t *pVoices, int num_voices, int offset, int step) 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_pEventRdy = pEventRdy;
m_num_voices = num_voices; m_num_voices = num_voices;
m_pVoices = pVoices; m_pVoices = pVoices;