add TimeoutEnabled query

This commit is contained in:
Glenn Maynard
2005-02-05 18:57:27 +00:00
parent c828e51c3b
commit 93b70b137d
+1
View File
@@ -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. */