mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-18 12:37:56 +05:00
set timestamp in element search tree
This commit is contained in:
parent
d240203932
commit
787c6043fa
@ -5264,7 +5264,9 @@ namespace netgen
|
|||||||
std::lock_guard<std::mutex> guard(buildsearchtree_mutex);
|
std::lock_guard<std::mutex> guard(buildsearchtree_mutex);
|
||||||
// check again to see if some other thread built while waiting for lock
|
// check again to see if some other thread built while waiting for lock
|
||||||
if (elementsearchtreets[dim] == GetTimeStamp()) return;
|
if (elementsearchtreets[dim] == GetTimeStamp()) return;
|
||||||
|
|
||||||
|
elementsearchtreets[dim] = GetTimeStamp();
|
||||||
|
|
||||||
PrintMessage (4, "Rebuild element searchtree dim " + ToString(dim));
|
PrintMessage (4, "Rebuild element searchtree dim " + ToString(dim));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user