From 9345d3a29e0596c9d49d48e86b98139c4b521960 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 25 Apr 2005 21:14:37 +0000 Subject: [PATCH] add warning --- stepmania/src/RageUtil_WorkerThread.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/RageUtil_WorkerThread.cpp b/stepmania/src/RageUtil_WorkerThread.cpp index be3d9a6d9a..dfa3bbcd5d 100644 --- a/stepmania/src/RageUtil_WorkerThread.cpp +++ b/stepmania/src/RageUtil_WorkerThread.cpp @@ -68,6 +68,9 @@ bool WorkerThread::DoRequest( int iRequest ) ASSERT( !m_bTimedOut ); ASSERT( m_iRequest == REQ_NONE ); + if( m_Timeout.IsZero() ) + LOG->Warn( "Request made with timeout disabled" ); + /* Set the request, and wake up the worker thread. */ m_WorkerEvent.Lock();