Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix GH#343
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 8 Mar 2021 21:54:49 +0000 (22:54 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 8 Mar 2021 21:59:47 +0000 (22:59 +0100)
commite1d5724a2ddeac3eaeb8d802c23f44e9dec13898
treea4667f950d5908948b3f7d52cdce7471a7cbb9e2
parente1730083c35441eaf907fc0a9287ae1d461b4f08
fix GH#343

- An exec that ends right when the timeout expires is actually done
- when the timeout_detector finished, change the state of the action of
the ExecImpl that owns this detector to FAILED. This will trigger
on_state_change for the right action and solve the issue on energy
logging of this issue.
- Side effect, more instrumentation is displayed in another example of
a ptask with timeout.
ChangeLog
examples/cpp/exec-ptask/s4u-exec-ptask.tesh
src/kernel/activity/ExecImpl.cpp