Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Add BARRIER directive to synchronize threads
Browse files Browse the repository at this point in the history
  • Loading branch information
jqujqu committed Nov 17, 2017
1 parent 24cfbab commit acfce66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/walt/paired.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ void ProcessPairedEndReads(const string& command, const string& index_file,
AG_WILDCARD, max_mismatches, b, top_results[pi][j],
stat_single_reads);
}
#pragma omp barrier
}
}
if (num_of_reads[0] != num_of_reads[1]) {
Expand Down

0 comments on commit acfce66

Please sign in to comment.