Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
moved a line for comprehension
[simgrid.git] / examples / python / async-wait / async-wait.tesh
1 #!/usr/bin/env tesh
2
3 $ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${bindir:=.}/async-wait.py ${platfdir}/small_platform_fatpipe.xml async-wait_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
4 > [  0.000000] (1:sender@Tremblay) Send 'Message 0' to 'Mailbox(receiver-0)'
5 > [  0.000000] (2:receiver@Ruby) Wait for my first message
6 > [  0.000000] (1:sender@Tremblay) Send 'Message 1' to 'Mailbox(receiver-0)'
7 > [  0.000000] (1:sender@Tremblay) Send 'Message 2' to 'Mailbox(receiver-0)'
8 > [  0.000000] (1:sender@Tremblay) Send 'finalize' to 'Mailbox(receiver-0)'
9 > [  0.000000] (1:sender@Tremblay) Done dispatching all messages
10 > [  0.105458] (2:receiver@Ruby) I got a 'Message 0'.
11 > [  0.210917] (2:receiver@Ruby) I got a 'Message 1'.
12 > [  0.316375] (2:receiver@Ruby) I got a 'Message 2'.
13 > [  0.318326] (1:sender@Tremblay) Goodbye now!
14 > [  0.318326] (2:receiver@Ruby) I got a 'finalize'.