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