Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
smpi: fix issue with message IDs. In case of persistent request reused multiple times...
[simgrid.git] / examples / python / synchro-barrier / synchro-barrier.py
index b4cd4d9..6b81a1d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2010-2022. The SimGrid Team. All rights reserved.
+# Copyright (c) 2010-2023. The SimGrid Team. All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of the license (GNU LGPL) which comes with this package.
@@ -30,7 +30,7 @@ def worker(barrier: Barrier):
     """ Wait on the barrier and exits.
     :param barrier: Barrier to be awaited
     """
-    this_actor.info(f"Waiting on the barrier")
+    this_actor.info("Waiting on the barrier")
     barrier.wait()
     this_actor.info("Bye")
 
@@ -45,7 +45,7 @@ def master(actor_count: int):
     this_actor.info(f"Spawning {workers_count} workers")
     for i in range(workers_count):
         Actor.create(f"worker-{i}", Host.by_name("Jupiter"), worker, barrier)
-    this_actor.info(f"Waiting on the barrier")
+    this_actor.info("Waiting on the barrier")
     barrier.wait()
     this_actor.info("Bye")