From 93b70b137d3795b242343e60954dbf11ead947b7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 5 Feb 2005 18:57:27 +0000 Subject: [PATCH] add TimeoutEnabled query --- stepmania/src/RageUtil_WorkerThread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/RageUtil_WorkerThread.h b/stepmania/src/RageUtil_WorkerThread.h index 69840336bd..6c4722579d 100644 --- a/stepmania/src/RageUtil_WorkerThread.h +++ b/stepmania/src/RageUtil_WorkerThread.h @@ -16,6 +16,7 @@ public: * per-request timeout; you have 10 seconds to do your work, at which point all * requests time out until SetTimeout is called again. */ void SetTimeout( float fSeconds ); + bool TimeoutEnabled() const { return !m_Timeout.IsZero(); } protected: /* Call this in the derived class to start and stop the thread. */