Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to fix a failure about mutex freed too early in RMA
[simgrid.git] / examples / python / actor-join / actor-join.py
index 38f209a65255ae24c2cc65d089f2925b053864ab..770ec7662e0c429413ef597c68caf39b8f00f1e9 100644 (file)
@@ -1,10 +1,14 @@
-# Copyright (c) 2017-2022. The SimGrid Team. All rights reserved.
+# Copyright (c) 2017-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.
 
-from simgrid import Actor, Engine, Host, this_actor
+"""
+Usage: actor-join.py platform_file [other parameters]
+"""
+
 import sys
+from simgrid import Actor, Engine, Host, this_actor
 
 
 def sleeper():
@@ -55,4 +59,4 @@ if __name__ == '__main__':
 
     e.run()
 
-    this_actor.info("Simulation time {}".format(e.clock()))
+    this_actor.info("Simulation time {}".format(e.clock))