|
@@ -85,7 +85,7 @@ protected: |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
bool fInitializing; |
|
|
|
|
|
|
|
|
volatile bool fInitializing; |
|
|
CriticalSection fLock; |
|
|
CriticalSection fLock; |
|
|
ReferenceCountedArray<MessageManager::MessageBase> fQueue; |
|
|
ReferenceCountedArray<MessageManager::MessageBase> fQueue; |
|
|
|
|
|
|
|
@@ -133,7 +133,9 @@ void MessageManager::doPlatformSpecificShutdown() |
|
|
{ |
|
|
{ |
|
|
JuceEventsThread& juceEventsThread(getJuceEventsThreadInstance()); |
|
|
JuceEventsThread& juceEventsThread(getJuceEventsThreadInstance()); |
|
|
|
|
|
|
|
|
if (! juceEventsThread.isInitializing()) |
|
|
|
|
|
|
|
|
if (juceEventsThread.isInitializing()) |
|
|
|
|
|
juceEventsThread.signalThreadShouldExit(); |
|
|
|
|
|
else |
|
|
juceEventsThread.stopThread(-1); |
|
|
juceEventsThread.stopThread(-1); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -143,6 +145,12 @@ bool MessageManager::postMessageToSystemQueue(MessageManager::MessageBase* const |
|
|
return juceEventsThread.postMessage(message); |
|
|
return juceEventsThread.postMessage(message); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool MessageManager::dispatchNextMessageOnSystemQueue(bool) |
|
|
|
|
|
{ |
|
|
|
|
|
carla_stderr2("MessageManager::dispatchNextMessageOnSystemQueue() unsupported"); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} // namespace juce |
|
|
} // namespace juce |
|
|
|
|
|
|
|
|
#endif // ! CARLA_OS_MAC || CARLA_OS_WIN |
|
|
#endif // ! CARLA_OS_MAC || CARLA_OS_WIN |