diff --git a/Thread.cpp b/Thread.cpp index ef76ab8..f2ea928 100644 --- a/Thread.cpp +++ b/Thread.cpp @@ -26,6 +26,11 @@ CThread::CThread() } +CThread::~CThread() +{ + +} + void CThread::Create() { //Actually does nothing, might be removed in the future diff --git a/Thread.h b/Thread.h index 3da7b18..4715f8d 100644 --- a/Thread.h +++ b/Thread.h @@ -27,13 +27,14 @@ class CThread { public: CThread(); + virtual ~CThread(); void Create(); void Run(); void Wait(); void Sleep(unsigned long milli); protected: - virtual void* Entry(); + virtual void* Entry() = 0; private: static void EntryRunner(CThread * thread);