bugfix for shutdown of threads and garbage collection.

This commit is contained in:
Mark Vejvoda
2013-06-22 03:36:18 +00:00
parent 76ee030e93
commit bb14d4cc1e
5 changed files with 102 additions and 40 deletions

View File

@@ -58,6 +58,9 @@ public:
private:
SDL_Thread* thread;
std::auto_ptr<Mutex> mutexthreadAccessor;
bool threadObjectValid();
bool deleteAfterExecute;
static Mutex mutexthreadList;
static vector<Thread *> threadList;