Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill trailing whitespaces in tesh files (except when testing tesh or log facility).
[simgrid.git] / examples / c / actor-exiting / actor-exiting.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/c-actor-exiting ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%a@%h)%e%m%n" --log=no_loc
4 > [  1.000000] (A@Tremblay) I stop now
5 > [  3.000000] (C@Ginette) And now, induce a deadlock by waiting for a message that will never come
6 >
7 >
8 > [  3.000000] (maestro@) Oops! Deadlock or code not perfectly clean.
9 > [  3.000000] (maestro@) 1 actors are still running, waiting for something.
10 > [  3.000000] (maestro@) Legend of the following listing: "Actor <pid> (<name>@<host>): <status>"
11 > [  3.000000] (maestro@) Actor 3 (C@Ginette): waiting for communication activity 0xdeadbeef () in state 0 to finish
12 > [  3.000000] (C@Ginette) I was killed!
13 > [  3.000000] (C@Ginette) The backtrace would be displayed here if --log=no_loc would not have been passed