diff --git a/src/lib/base/EventQueue.cpp b/src/lib/base/EventQueue.cpp index b12c0736..636f643e 100644 --- a/src/lib/base/EventQueue.cpp +++ b/src/lib/base/EventQueue.cpp @@ -107,7 +107,7 @@ CEventQueue::loop() { m_buffer->init(); *m_readyCondVar = true; - m_readyCondVar->broadcast(); + m_readyCondVar->signal(); LOG((CLOG_DEBUG "event queue is ready")); while (!m_pending.empty()) { diff --git a/src/lib/platform/OSXScreen.cpp b/src/lib/platform/OSXScreen.cpp index cea383f3..0fa8a469 100644 --- a/src/lib/platform/OSXScreen.cpp +++ b/src/lib/platform/OSXScreen.cpp @@ -1703,7 +1703,7 @@ COSXScreen::watchSystemPowerThread(void*) #if defined(MAC_OS_X_VERSION_10_7) if (*m_carbonLoopReady == false) { *m_carbonLoopReady = true; - m_carbonLoopReady->broadcast(); + m_carbonLoopReady->signal(); } #endif