mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3253 OpenMP : Give name to all critical sections
This commit is contained in:
@@ -183,7 +183,7 @@ void RivFaultGeometryGenerator::computeArrays()
|
||||
m_grid->cellFaceVertexIndices(face, faceConn);
|
||||
|
||||
// Critical section to avoid two threads accessing the arrays at the same time.
|
||||
#pragma omp critical
|
||||
#pragma omp critical(critical_section_RivFaultGeometryGenerator_computeArrays)
|
||||
{
|
||||
int n;
|
||||
for (n = 0; n < 4; n++)
|
||||
|
||||
Reference in New Issue
Block a user