master
Geoffrey Merck 4 years ago
parent 49fc77e465
commit 016ac2b34f

@ -26,6 +26,11 @@ CThread::CThread()
} }
CThread::~CThread()
{
}
void CThread::Create() void CThread::Create()
{ {
//Actually does nothing, might be removed in the future //Actually does nothing, might be removed in the future

@ -27,13 +27,14 @@
class CThread { class CThread {
public: public:
CThread(); CThread();
virtual ~CThread();
void Create(); void Create();
void Run(); void Run();
void Wait(); void Wait();
void Sleep(unsigned long milli); void Sleep(unsigned long milli);
protected: protected:
virtual void* Entry(); virtual void* Entry() = 0;
private: private:
static void EntryRunner(CThread * thread); static void EntryRunner(CThread * thread);

Loading…
Cancel
Save

Powered by TurnKey Linux.