Fixes a race condition when more than one thread tries to access the grid file (thanks Patrick)

This commit is contained in:
Dennis Luxen 2010-11-18 16:58:31 +00:00
parent e176115273
commit 17310a9d2b

View File

@ -272,6 +272,10 @@ public:
const EdgeData ed = _graph->GetEdgeData(e);
return ed.type;
}
inline void RegisterThread(const unsigned k, const unsigned v) {
nodeHelpDesk->RegisterThread(k,v);
}
private:
NodeHelperT * nodeHelpDesk;