Fixes a race condition when more than one thread tries to access the grid file (thanks Patrick)
This commit is contained in:
parent
e176115273
commit
17310a9d2b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user