A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
s4u
/
s4u_Barrier.cpp
diff --git
a/src/s4u/s4u_Barrier.cpp
b/src/s4u/s4u_Barrier.cpp
index
713245c
..
a8ce588
100644
(file)
--- a/
src/s4u/s4u_Barrier.cpp
+++ b/
src/s4u/s4u_Barrier.cpp
@@
-18,10
+18,8
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_barrier, "S4U barrier");
namespace simgrid {
namespace s4u {
namespace simgrid {
namespace s4u {
-Barrier::Barrier(unsigned int
count) : expected_processes_(count
)
+Barrier::Barrier(unsigned int
expected_processes) : mutex_(Mutex::create()), cond_(ConditionVariable::create()), expected_processes_(expected_processes
)
{
{
- mutex_ = Mutex::create();
- cond_ = ConditionVariable::create();
}
/**
}
/**