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
cleanups and refactoring in s4u::Task
[simgrid.git]
/
examples
/
python
/
task-simple
/
task-simple.py
diff --git
a/examples/python/task-simple/task-simple.py
b/examples/python/task-simple/task-simple.py
index
4ac876e
..
ce57577
100644
(file)
--- a/
examples/python/task-simple/task-simple.py
+++ b/
examples/python/task-simple/task-simple.py
@@
-49,7
+49,7
@@
if __name__ == '__main__':
comm.add_successor(exec2)
# Add a function to be called when tasks end for log purpose
- Task.on_
end
_cb(callback)
+ Task.on_
completion
_cb(callback)
# Enqueue two executions for task exec1
exec1.enqueue_execs(2)