mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 01:54:19 +00:00
comment
This commit is contained in:
parent
8fdd6da926
commit
d2573e78c2
|
@ -23,6 +23,8 @@ void FifoConsole::ListenFifoThread(void *pUser)
|
||||||
{
|
{
|
||||||
FifoConsole *pData = (FifoConsole *)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)
|
while (!pData->m_pFifoFile || str_comp(pData->m_pFifoFile, "") == 0)
|
||||||
thread_sleep(1000);
|
thread_sleep(1000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue