This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33892] New: [libstdc++ v3 parallel mode] Parallel mode algorithms use critical sections with global scope
- From: "singler at ira dot uka dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2007 12:22:46 -0000
- Subject: [Bug libstdc++/33892] New: [libstdc++ v3 parallel mode] Parallel mode algorithms use critical sections with global scope
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The libstdc++ v3 parallel mode uses #pragma omp critical in several places,
like this:
#pragma omp critical(writeOutput)
output = r(output, result);
However, this is a global per app lock, which could deteriorate performance.
--
Summary: [libstdc++ v3 parallel mode] Parallel mode algorithms
use critical sections with global scope
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: singler at ira dot uka dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33892