X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d102cd7ada0dfafcdc0af2c9580630afe8a92492..b83bdf8faae7ba64d66c529754159a164b70104d:/examples/python/exec-async/exec-async.py diff --git a/examples/python/exec-async/exec-async.py b/examples/python/exec-async/exec-async.py index 86c7b16341..07585437a3 100644 --- a/examples/python/exec-async/exec-async.py +++ b/examples/python/exec-async/exec-async.py @@ -3,12 +3,19 @@ # 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: exec-async.py platform_file [other parameters] +""" + import sys +from simgrid import Actor, Engine, Host, this_actor class Waiter: - """ This actor simply waits for its task completion after starting it. That's exactly equivalent to synchronous execution. """ + """ + This actor simply waits for its task completion after starting it. + That's exactly equivalent to synchronous execution. + """ def __call__(self): computation_amount = this_actor.get_host().speed