Skip to content
Snippets Groups Projects
Commit d09a545f authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL] Replace STL lock guard with omp critical

If OpenMP implementation is not based on pthreads, the
locking is not correct. The error shows up in a PETSc build
with multiple assembly threads on a single MPI rank.
parent fc1ee20e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment