issue #4072 - Carboon loop not ready within 5 sec

issue solved
This commit is contained in:
jerry 2014-06-02 11:04:09 +00:00
parent ae4d8cee2a
commit 9feaa959f1
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ CEventQueue::loop()
{ {
m_buffer->init(); m_buffer->init();
*m_readyCondVar = true; *m_readyCondVar = true;
m_readyCondVar->broadcast(); m_readyCondVar->signal();
LOG((CLOG_DEBUG "event queue is ready")); LOG((CLOG_DEBUG "event queue is ready"));
while (!m_pending.empty()) { while (!m_pending.empty()) {

View File

@ -1703,7 +1703,7 @@ COSXScreen::watchSystemPowerThread(void*)
#if defined(MAC_OS_X_VERSION_10_7) #if defined(MAC_OS_X_VERSION_10_7)
if (*m_carbonLoopReady == false) { if (*m_carbonLoopReady == false) {
*m_carbonLoopReady = true; *m_carbonLoopReady = true;
m_carbonLoopReady->broadcast(); m_carbonLoopReady->signal();
} }
#endif #endif