First rough outline of the network client thread. More to be done soon.

This commit is contained in:
lotodore
2007-02-16 00:03:30 +00:00
parent 7130405f67
commit b6923b8d38
4 changed files with 127 additions and 0 deletions
+7
View File
@@ -111,3 +111,10 @@ Thread::ShouldTerminate() const
return lock.locked();
}
bool
Thread::IsRunning() const
{
boost::mutex::scoped_lock threadLock(m_threadObjMutex);
return (m_threadObj.get() != NULL);
}