aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/CallFunction.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-11-29 19:02:14 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 19:55:02 +0000
commite5a4072babaaeaccfd96d9857d433deaa417503f (patch)
tree5cbf71b49cf3c993153a5c81b7046cf3c4813461 /Carpet/Carpet/src/CallFunction.cc
parent01b7b58d2ba75324fadebba2cdd41b0c8ff77227 (diff)
Improve named barriers
Introduce dist::barrier as low-level implementation of a named barrier. Use it in Carpet::NamedBarrier. Use the above in almost all barrier calls.
Diffstat (limited to 'Carpet/Carpet/src/CallFunction.cc')
-rw-r--r--Carpet/Carpet/src/CallFunction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/CallFunction.cc b/Carpet/Carpet/src/CallFunction.cc
index 7c524c21e..936c8525d 100644
--- a/Carpet/Carpet/src/CallFunction.cc
+++ b/Carpet/Carpet/src/CallFunction.cc
@@ -297,7 +297,7 @@ namespace Carpet {
buf << attribute->routine << "\n";
string const str = buf.str();
int const id = adler32(str.c_str(), str.length());
- Carpet::NamedBarrier (NULL, id);
+ Carpet::NamedBarrier (NULL, id, "Carpet::CallFunction");
}
total_timer.stop();