mirror of
https://github.com/glest/glest-source.git
synced 2025-08-09 01:46:28 +02:00
bugfix for shutdown of threads and garbage collection.
This commit is contained in:
@@ -61,6 +61,7 @@ private:
|
||||
bool deleteAfterExecute;
|
||||
static Mutex mutexthreadList;
|
||||
static vector<Thread *> threadList;
|
||||
static bool enableVerboseMode;
|
||||
|
||||
protected:
|
||||
void addThreadToList();
|
||||
@@ -71,6 +72,9 @@ public:
|
||||
Thread();
|
||||
virtual ~Thread();
|
||||
|
||||
static void setEnableVerboseMode(bool value) { enableVerboseMode = value; }
|
||||
static bool getEnableVerboseMode() { return enableVerboseMode; }
|
||||
|
||||
static std::vector<Thread *> getThreadList();
|
||||
static void shutdownThreads();
|
||||
|
||||
|
Reference in New Issue
Block a user