Relative Content

Tag Archive for c++multithreadingparallel-processingopenmp

Track progress in a thread with OpenMP

Im trying to create a programm that displays value from different thread every second, as an attempt at progress tracking functionality, but unfortunatly i cant seam to correctly parallelise this case at all.

Code segfaulting while parrellizing BFS using OMP

I am trying to parallelize a modified BFS but it’s segfaulting. My idea is that it is segafaulting due to the else if section as some threads might be unwantedly accessing it. I cannot figure out any other way to fix it. Can someone suggest any changes?