mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-18 00:47:43 +02:00
added some hacky sleeps to temporarily fix some thread timing issues (causing access violations). the best fix would be to use wait cond vars, but first we need to really understand the bug.
This commit is contained in:
parent
6f982a501a
commit
760e38eeba
8 changed files with 34 additions and 25 deletions
|
@ -385,5 +385,12 @@ CApp::handleIpcMessage(const CEvent& e, void*)
|
|||
if (m->type() == kIpcShutdown) {
|
||||
LOG((CLOG_INFO "got ipc shutdown message"));
|
||||
m_events->addEvent(CEvent(CEvent::kQuit));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
CApp::runEventsLoop(void*)
|
||||
{
|
||||
m_events->cacheCurrentEventQueueRef();
|
||||
m_events->loop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue