* 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:
Nick Bolton
2012-07-08 17:49:45 +00:00
parent ecf1833f36
commit e501552f24
5 changed files with 53 additions and 23 deletions

View File

@@ -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;
}