Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new: Actor::get_restart_count(): Returns the number of reboots that this actor did
[simgrid.git] / src / s4u / s4u_Barrier.cpp
index 80ce0e2..8aa46d2 100644 (file)
@@ -23,7 +23,7 @@ namespace s4u {
 BarrierPtr Barrier::create(unsigned int expected_actors)
 {
   auto* res = new kernel::activity::BarrierImpl(expected_actors);
-  return BarrierPtr(&res->piface_);
+  return BarrierPtr(&res->piface_, false);
 }
 
 /** @brief Block the current actor until all expected actors reach the barrier.