Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Rename variable bar -> barrier
[simgrid.git] / src / smpi / internals / smpi_process.cpp
index d341b28..4b55a61 100644 (file)
@@ -67,9 +67,9 @@ void Process::set_data(int index, int* argc, char*** argv)
 {
     char* instance_id = (*argv)[1];
     comm_world_       = smpi_deployment_comm_world(instance_id);
-    msg_bar_t bar     = smpi_deployment_finalization_barrier(instance_id);
-    if (bar != nullptr) // don't overwrite the current one if the instance has none
-      finalization_barrier_ = bar;
+    msg_bar_t barrier = smpi_deployment_finalization_barrier(instance_id);
+    if (barrier != nullptr) // don't overwrite the current one if the instance has none
+      finalization_barrier_ = barrier;
     instance_id_ = instance_id;
     index_       = index;