class CYCData: findData() added; various cleanup

This commit is contained in:
Roland Jax
2014-04-18 19:45:05 +02:00
parent fdc52ee122
commit e9a4721c8f
7 changed files with 74 additions and 31 deletions
-6
View File
@@ -24,8 +24,6 @@ static void* runThread(void* arg)
return ((Thread *)arg)->run();
}
Thread::Thread() : m_threadid(0), m_running(false), m_detached(false) {}
Thread::~Thread()
{
if (m_running == true && m_detached == false)
@@ -78,7 +76,3 @@ int Thread::detach()
return result;
}
pthread_t Thread::self()
{
return m_threadid;
}