mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
- added conditional check to only issue a stop command to units if they are not already stopped
- memory cleanup on unit errors - mutex for checksum class
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include "types.h"
|
||||
#include "thread.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
using std::string;
|
||||
using Shared::Platform::int32;
|
||||
using Shared::Platform::int8;
|
||||
using namespace Shared::Platform;
|
||||
|
||||
namespace Shared{ namespace Util{
|
||||
|
||||
@@ -34,6 +34,8 @@ private:
|
||||
int32 c1;
|
||||
int32 c2;
|
||||
std::map<string,int32> fileList;
|
||||
|
||||
static Mutex fileListCacheSynchAccessor;
|
||||
static std::map<string,int32> fileListCache;
|
||||
|
||||
void addSum(int32 value);
|
||||
|
Reference in New Issue
Block a user