mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-26 22:03:24 +08:00
* removed wait cond and mutex usage from gui ipc log reader (it was being used incorrectly anyway)
* raised the log-to-console level to DEBUG2 * added force option to ipc log buffer (to side-step the anti-recursion "mechanism") * made relauncher always relay server/client messages to ipc client (gui)
This commit is contained in:
@@ -414,9 +414,11 @@ CMSWindowsRelauncher::outputLoop(void*)
|
||||
ARCH->sleep(1);
|
||||
}
|
||||
else {
|
||||
// send process output over IPC to GUI.
|
||||
buffer[bytesRead] = '\0';
|
||||
m_ipcLogOutputter.write(kINFO, buffer);
|
||||
|
||||
// send process output over IPC to GUI, and force it to be sent
|
||||
// which bypasses the ipc logging anti-recursion mechanism.
|
||||
m_ipcLogOutputter.write(kINFO, buffer, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user