From d2573e78c2fc5d45e75bc975359980ca25ff5f7f Mon Sep 17 00:00:00 2001 From: def Date: Wed, 26 Nov 2014 21:18:11 +0100 Subject: [PATCH] comment --- src/engine/shared/fifoconsole.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/shared/fifoconsole.cpp b/src/engine/shared/fifoconsole.cpp index 057362a38..611dccfdb 100644 --- a/src/engine/shared/fifoconsole.cpp +++ b/src/engine/shared/fifoconsole.cpp @@ -23,6 +23,8 @@ void FifoConsole::ListenFifoThread(void *pUser) { FifoConsole *pData = (FifoConsole *)pUser; + // This should fix the problem where sometimes the fifo thread runs at a bad + // time and can't open the fifo immediately. while (!pData->m_pFifoFile || str_comp(pData->m_pFifoFile, "") == 0) thread_sleep(1000);