MCPcopy Create free account
hub / github.com/BirolLab/abyss / atomicInc

Function atomicInc

MergePaths/MergePaths.cpp:836–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834 */
835template<class T1, class T2, class T3>
836bool
837atomicInc(T1& it, T2 last, T3& out)
838{
839#pragma omp critical(atomicInc)
840 out = it == last ? it : it++;
841 return out != last;
842}
843
844/** Build the path overlap graph. */
845static void

Callers 2

buildPathGraphFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected