mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-28 22:07:49 +02: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:
parent
f0493351a1
commit
ecf1833f36
6 changed files with 28 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue