- 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:
Mark Vejvoda
2011-03-23 00:49:21 +00:00
parent 37127cccfc
commit 8a9505e1e8
4 changed files with 22 additions and 6 deletions

View File

@@ -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);