upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)
This commit is contained in:
@ -195,7 +195,7 @@ bool Thread::currentThreadShouldExit()
|
||||
bool Thread::waitForThreadToExit (const int timeOutMilliseconds) const
|
||||
{
|
||||
// Doh! So how exactly do you expect this thread to wait for itself to stop??
|
||||
jassert (getThreadId() != getCurrentThreadId() || getCurrentThreadId() == 0);
|
||||
jassert (getThreadId() != getCurrentThreadId() || getCurrentThreadId() == ThreadID());
|
||||
|
||||
auto timeoutEnd = Time::getMillisecondCounter() + (uint32) timeOutMilliseconds;
|
||||
|
||||
@ -236,7 +236,7 @@ bool Thread::stopThread (const int timeOutMilliseconds)
|
||||
killThread();
|
||||
|
||||
threadHandle = nullptr;
|
||||
threadId = 0;
|
||||
threadId = {};
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -288,7 +288,7 @@ bool Thread::setPriority (int newPriority)
|
||||
|
||||
bool Thread::setCurrentThreadPriority (const int newPriority)
|
||||
{
|
||||
return setThreadPriority (0, newPriority);
|
||||
return setThreadPriority ({}, newPriority);
|
||||
}
|
||||
|
||||
void Thread::setAffinityMask (const uint32 newAffinityMask)
|
||||
|
||||
Reference in New Issue
Block a user