fix thread namespace

This commit is contained in:
smogm
2015-01-12 16:38:28 +01:00
parent c37263f594
commit 3ef2eeb8aa
8 changed files with 23 additions and 23 deletions

View File

@@ -1,20 +1,20 @@
#ifndef _THREAD_ABSTRACTION_H
#define _THREAD_ABSTRACTION_H
#ifndef _SIMPLETHREAD_ABSTRACTION_H
#define _SIMPLETHREAD_ABSTRACTION_H
#include <pthread.h>
class Thread
class SimpleThread
{
bool mIsRunning;
pthread_t mThread;
static void* runThread(void*);
Thread(const Thread&);
const Thread& operator=(const Thread&);
SimpleThread(const SimpleThread&);
const SimpleThread& operator=(const SimpleThread&);
public:
Thread();
~Thread();
SimpleThread();
~SimpleThread();
void startThread();
void joinThread();