Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cca85d0941c005a45febeeea1d2459768959978d
[simgrid.git] / examples / java / process / kill / process_kill.tesh
1 #! tesh
2
3 $ java -classpath ${classpath:=.} process/kill/Main ${srcdir:=.}/../platforms/small_platform.xml --lof=no_loc
4 > [0.000000] [jmsg/INFO] Using regular java threads.
5 > [Jacquelin:killer:(1) 0.000000] [jmsg/INFO] Hello!
6 > [Boivin:victim:(2) 0.000000] [jmsg/INFO] Hello!
7 > [Boivin:victim:(2) 0.000000] [jmsg/INFO] Suspending myself
8 > [Jacquelin:killer:(1) 10.000000] [jmsg/INFO] Resume Process
9 > [Boivin:victim:(2) 10.000000] [jmsg/INFO] OK, OK. Let's work
10 > [Jacquelin:killer:(1) 11.000000] [jmsg/INFO] Kill Process
11 > [Jacquelin:killer:(1) 11.000000] [jmsg/INFO] Ok, goodbye now.
12 > [11.000000] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...