mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-30 15:56:00 +08:00
* increased gui ipc read check (yes yes, i should be using wait cond... but qt mutexes suck)
* added mutex to client proxy to protect stream * added try/catch to ipc log outputter buffer thread * protected ipc client proxy list with mutex (saw a weird stl error, might be caused by cross-thread weirdness)
This commit is contained in:
@@ -84,7 +84,7 @@ void IpcReader::readStream(char* buffer, int length)
|
||||
// qt is such a fucker with mutexes (can't lock/unlock between
|
||||
// threads?! wtf?!). i'd just rather not go there (patches welcome).
|
||||
while (!m_ReadyRead) {
|
||||
QThread::usleep(100);
|
||||
QThread::usleep(50);
|
||||
}
|
||||
m_ReadyRead = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user