@srcdir@/gtut-main.doc \
@srcdir@/gtut-introduction.doc \
@srcdir@/gtut-tour.doc \
- @srcdir@/gtut-tour-1-bones.doc \
- @srcdir@/gtut-tour-2-simple.doc \
- @srcdir@/gtut-tour-3-args.doc \
- @srcdir@/gtut-tour-4-callback.doc \
- @srcdir@/gtut-tour-5-globals.doc \
- @srcdir@/gtut-tour-6-logs.doc \
- @srcdir@/gtut-tour-7-timers.doc \
- @srcdir@/gtut-tour-8-exceptions.doc \
- @srcdir@/gtut-tour-9-rpc.doc \
+ @srcdir@/gtut-tour-01-bones.doc \
+ @srcdir@/gtut-tour-02-simple.doc \
+ @srcdir@/gtut-tour-03-args.doc \
+ @srcdir@/gtut-tour-04-callback.doc \
+ @srcdir@/gtut-tour-05-globals.doc \
+ @srcdir@/gtut-tour-06-logs.doc \
+ @srcdir@/gtut-tour-07-timers.doc \
+ @srcdir@/gtut-tour-08-exceptions.doc \
+ @srcdir@/gtut-tour-09-simpledata.doc \
+ @srcdir@/gtut-tour-10-rpc.doc \
\
./logcategories.doc \
\
-1-bones.mk
-1-bones.trace
-1-bones_client
-1-bones_server
-1-bones_simulator
-_1-bones_client.c
-_1-bones_server.c
-_1-bones_simulator.c
+01-bones.mk
+01-bones.trace
+01-bones_client
+01-bones_server
+01-bones_simulator
+_01-bones_client.c
+_01-bones_server.c
+_01-bones_simulator.c
-2-simple.mk
-2-simple.trace
-2-simple_client
-2-simple_server
-2-simple_simulator
-_2-simple_client.c
-_2-simple_server.c
-_2-simple_simulator.c
+02-simple.mk
+02-simple.trace
+02-simple_client
+02-simple_server
+02-simple_simulator
+_02-simple_client.c
+_02-simple_server.c
+_02-simple_simulator.c
-3-args.mk
-3-args.trace
-3-args_client
-3-args_server
-3-args_simulator
-_3-args_client.c
-_3-args_server.c
-_3-args_simulator.c
+03-args.mk
+03-args.trace
+03-args_client
+03-args_server
+03-args_simulator
+_03-args_client.c
+_03-args_server.c
+_03-args_simulator.c
-4-callback.mk
-4-callback.trace
-4-callback_client
-4-callback_server
-4-callback_simulator
-_4-callback_client.c
-_4-callback_server.c
-_4-callback_simulator.c
+04-callback.mk
+04-callback.trace
+04-callback_client
+04-callback_server
+04-callback_simulator
+_04-callback_client.c
+_04-callback_server.c
+_04-callback_simulator.c
-5-globals.mk
-5-globals.trace
-5-globals_client
-5-globals_server
-5-globals_simulator
-_5-globals_client.c
-_5-globals_server.c
-_5-globals_simulator.c
+05-globals.mk
+05-globals.trace
+05-globals_client
+05-globals_server
+05-globals_simulator
+_05-globals_client.c
+_05-globals_server.c
+_05-globals_simulator.c
-6-logs.mk
-6-logs.trace
-6-logs_client
-6-logs_server
-6-logs_simulator
-_6-logs_client.c
-_6-logs_server.c
-_6-logs_simulator.c
+06-logs.mk
+06-logs.trace
+06-logs_client
+06-logs_server
+06-logs_simulator
+_06-logs_client.c
+_06-logs_server.c
+_06-logs_simulator.c
-7-timers.mk
-7-timers.trace
-7-timers_client
-7-timers_server
-7-timers_simulator
-_7-timers_client.c
-_7-timers_server.c
-_7-timers_simulator.c
+07-timers.mk
+07-timers.trace
+07-timers_client
+07-timers_server
+07-timers_simulator
+_07-timers_client.c
+_07-timers_server.c
+_07-timers_simulator.c
-8-exceptions.mk
-8-exceptions.trace
-8-exceptions_client
-8-exceptions_server
-8-exceptions_simulator
-_8-exceptions_client.c
-_8-exceptions_server.c
-_8-exceptions_simulator.c
+08-exceptions.mk
+08-exceptions.trace
+08-exceptions_client
+08-exceptions_server
+08-exceptions_simulator
+_08-exceptions_client.c
+_08-exceptions_server.c
+_08-exceptions_simulator.c
--- /dev/null
+$ ./test_client
+[blaise:client:(12985) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
+$ ./test_server
+[blaise:server:(12988) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
+$
+$ ./test_simulator platform.xml test.xml
+[Jacquelin:server:(1) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
+$
$ ./test_simulator platform.xml test.xml
Client ready; listening on 1024
That's it, we sent the data to the server
-[Boivin:client:(2) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
Cool, we received the message from Boivin:1024.
-[Jacquelin:server:(1) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
+[Jacquelin:server:(1) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
$ ./test_server 12345 & ./test_client 127.0.0.1 12345
Client ready; listening on 1024
That's it, we sent the data to the server on 127.0.0.1
-[blaise:client:(3668) 0.000005] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:client:(13082) 0.000006] gras/gras.c:83: [gras/INFO] Exiting GRAS
Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(3666) 0.000005] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:server:(13080) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
$
$ ./test_simulator platform.xml test.xml
Client ready; listening on 1024
That's it, we sent the data to the server on Jacquelin
-[Boivin:client:(2) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
Cool, we received the message from Boivin:1024.
-[Jacquelin:server:(1) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
+[Jacquelin:server:(1) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
$ ./test_server 23451 & ./test_client 127.0.0.1 23451
Client ready; listening on 1024
That's it, we sent the data to the server on 127.0.0.1
-[blaise:client:(3770) 0.000005] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:client:(13137) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(3768) 0.000004] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:server:(13135) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
$
$ ./test_simulator platform.xml test.xml
Client ready; listening on 1024
That's it, we sent the data to the server on Jacquelin
-[Boivin:client:(2) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
Cool, we received the message from Boivin:1024.
-[Jacquelin:server:(1) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
+[Jacquelin:server:(1) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
we sent the data to the server on 127.0.0.1. Let's do it again for fun
Ok. Enough. Have a rest, and then kill the server
Cool, we received the message from 127.0.0.1:1024.
-[blaise:client:(3874) 0.000005] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:client:(13192) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
Cool, we received the message from 127.0.0.1:1024.
Argh, killed by 127.0.0.1:1024! Bye folks...
-[blaise:server:(3872) 0.000005] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:server:(13190) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS
$
$ ./test_simulator platform.xml test.xml
Client ready; listening on 1024
Cool, we received the message from Boivin:1024.
Ok. Enough. Have a rest, and then kill the server
Cool, we received the message from Boivin:1024.
-[Boivin:client:(2) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
Argh, killed by Boivin:1024! Bye folks...
-[Jacquelin:server:(1) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
+[Jacquelin:server:(1) 0.000000] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
$ ./test_server 12345 & ./test_client 127.0.0.1 12345
-[blaise:client:(15633) 0.000005] test.c:71: [test/INFO] we sent the data to the server on 127.0.0.1. Let's do it again for fun
-[blaise:client:(15633) 0.000071] test.c:74: [test/INFO] Ok. Enough. Have a rest, and then kill the server
-[blaise:client:(15633) 5.008669] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[blaise:server:(15630) 0.000005] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(15630) 5.008181] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(15630) 5.008226] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
-[blaise:server:(15630) 5.008245] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:client:(13301) 0.000005] test.c:71: [test/INFO] we sent the data to the server on 127.0.0.1. Let's do it again for fun
+[blaise:client:(13301) 0.000102] test.c:74: [test/INFO] Ok. Enough. Have a rest, and then kill the server
+[blaise:client:(13301) 5.050149] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[blaise:server:(13298) 0.000005] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13298) 5.041927] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13298) 5.041995] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
+[blaise:server:(13298) 5.042023] gras/gras.c:83: [gras/INFO] Exiting GRAS
$
$ ./test_simulator platform.xml test.xml
[Boivin:client:(2) 0.000000] test.c:71: [test/INFO] we sent the data to the server on Jacquelin. Let's do it again for fun
[Jacquelin:server:(1) 0.000000] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024.
[Boivin:client:(2) 0.000537] test.c:74: [test/INFO] Ok. Enough. Have a rest, and then kill the server
[Jacquelin:server:(1) 0.000537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024.
-[Boivin:client:(2) 5.001074] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 5.001074] gras/gras.c:83: [gras/INFO] Exiting GRAS
[Jacquelin:server:(1) 5.001074] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks...
-[Jacquelin:server:(1) 5.001074] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[5.001074] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
+[Jacquelin:server:(1) 5.001074] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[5.001074] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
$ ./test_server 12345 --gras-log=root.thres=error & ./test_client 127.0.0.1 12345 --gras-log=root.thres=error
-[blaise:server:(15511) 0.000005] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
+[blaise:server:(13272) 0.000005] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
$
$ ./test_simulator platform.xml test.xml --gras-log=root.thres=error
[Jacquelin:server:(1) 0.000000] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks...
$ ./test_server 12345 --gras-log=test.thres=verbose & ./test_client 127.0.0.1 12345 --gras-log=test.thres=verbose
-[blaise:client:(12057) 0.000005] test.c:65: [test/VERBOSE] Client ready; listening on 1024
-[blaise:client:(12057) 1.506727] test.c:71: [test/INFO] we sent the data to the server on 127.0.0.1. Let's do it again for fun
-[blaise:client:(12057) 1.506758] test.c:74: [test/INFO] Ok. Enough. Have a rest, and then kill the server
-[blaise:client:(12057) 6.735174] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[blaise:server:(12054) 0.000004] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(12054) 5.228655] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(12054) 5.228698] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
-[blaise:server:(12054) 5.228716] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:server:(13248) 0.000005] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13248) 5.134000] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13248) 5.134080] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
+[blaise:server:(13248) 5.134112] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[blaise:client:(13251) 0.000005] test.c:65: [test/VERBOSE] Client ready; listening on 1024
+[blaise:client:(13251) 1.552926] test.c:71: [test/INFO] we sent the data to the server on 127.0.0.1. Let's do it again for fun
+[blaise:client:(13251) 1.552989] test.c:74: [test/INFO] Ok. Enough. Have a rest, and then kill the server
+[blaise:client:(13251) 6.683581] gras/gras.c:83: [gras/INFO] Exiting GRAS
$
$ ./test_simulator platform.xml test.xml --gras-log=test.thres=verbose
[Boivin:client:(2) 0.000000] test.c:65: [test/VERBOSE] Client ready; listening on 1024
[Jacquelin:server:(1) 1.500537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024.
[Boivin:client:(2) 1.501074] test.c:74: [test/INFO] Ok. Enough. Have a rest, and then kill the server
[Jacquelin:server:(1) 1.501074] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024.
-[Boivin:client:(2) 6.501611] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 6.501611] gras/gras.c:83: [gras/INFO] Exiting GRAS
[Jacquelin:server:(1) 6.501611] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks...
-[Jacquelin:server:(1) 6.501611] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[6.501611] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
+[Jacquelin:server:(1) 6.501611] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[6.501611] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
$ ./test_server 12345 & ./test_client 127.0.0.1 12345
-[blaise:client:(1059) 0.000005] test.c:100: [test/INFO] Programming the repetitive action with a frequency of 0.5 sec
-[blaise:client:(1059) 0.000059] test.c:103: [test/INFO] Programming the delayed action in 5 secs
-[blaise:client:(1059) 0.503528] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 1.007421] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 1.518254] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 2.021273] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 2.523439] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 3.027624] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 3.531462] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 4.054546] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 4.555526] test.c:67: [test/INFO] Hello sent to server
-[blaise:client:(1059) 5.003581] test.c:74: [test/INFO] Kill sent to server
-[blaise:client:(1059) 5.003608] test.c:79: [test/INFO] Break the client's while loop
-[blaise:client:(1059) 5.003625] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[blaise:server:(1056) 0.000005] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 0.504171] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 1.015021] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 1.517557] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 2.019864] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 2.524203] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 3.027500] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 3.551340] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 4.051570] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
-[blaise:server:(1056) 4.499931] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
-[blaise:server:(1056) 4.499955] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[blaise:server:(13359) 0.000005] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 0.506497] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 1.053796] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 1.607965] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 2.106832] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 2.647340] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 3.141538] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 3.742058] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 4.251319] test.c:26: [test/INFO] Cool, we received the message from 127.0.0.1:1024.
+[blaise:server:(13359) 4.643138] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks...
+[blaise:server:(13359) 4.643181] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[blaise:client:(13363) 0.000006] test.c:100: [test/INFO] Programming the repetitive action with a frequency of 0.5 sec
+[blaise:client:(13363) 0.000096] test.c:103: [test/INFO] Programming the delayed action in 5 secs
+[blaise:client:(13363) 0.531170] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 1.037941] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 1.585175] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 2.138196] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 2.638939] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 3.171944] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 3.673863] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 4.272187] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 4.782861] test.c:67: [test/INFO] Hello sent to server
+[blaise:client:(13363) 5.169044] test.c:74: [test/INFO] Kill sent to server
+[blaise:client:(13363) 5.169084] test.c:79: [test/INFO] Break the client's while loop
+[blaise:client:(13363) 5.169109] gras/gras.c:83: [gras/INFO] Exiting GRAS
$
$ ./test_simulator platform.xml test.xml
[Boivin:client:(2) 0.000000] test.c:100: [test/INFO] Programming the repetitive action with a frequency of 0.5 sec
[Jacquelin:server:(1) 5.000537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024.
[Boivin:client:(2) 5.001074] test.c:74: [test/INFO] Kill sent to server
[Boivin:client:(2) 5.001074] test.c:79: [test/INFO] Break the client's while loop
-[Boivin:client:(2) 5.001074] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Boivin:client:(2) 5.001074] gras/gras.c:83: [gras/INFO] Exiting GRAS
[Jacquelin:server:(1) 5.001074] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks...
-[Jacquelin:server:(1) 5.001074] gras/gras.c:79: [gras/INFO] Exiting GRAS
+[Jacquelin:server:(1) 5.001074] gras/gras.c:83: [gras/INFO] Exiting GRAS
[5.001074] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
$
--- /dev/null
+$ ./test_server & ./test_client 127.0.0.1
+[blaise:client:(13428) 0.000005] test.c:76: [test/INFO] Damn, the server is not on 3000
+[blaise:client:(13428) 0.000236] test.c:76: [test/INFO] Damn, the server is not on 3001
+[blaise:client:(13428) 0.000346] test.c:76: [test/INFO] Damn, the server is not on 3002
+[blaise:client:(13428) 0.000450] test.c:76: [test/INFO] Damn, the server is not on 3003
+[blaise:client:(13428) 0.000553] test.c:76: [test/INFO] Damn, the server is not on 3004
+[blaise:client:(13428) 0.000657] test.c:76: [test/INFO] Damn, the server is not on 3005
+[blaise:client:(13428) 0.000928] test.c:71: [test/INFO] Yeah! I found the server on 3006! It's eradicated by now.
+[blaise:client:(13428) 0.000958] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[blaise:server:(13425) 0.000005] test.c:39: [test/INFO] Ok, I'm hidden on port 3006. Hope for the best.
+[blaise:server:(13425) 1.666161] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks, I'm out of here...
+[blaise:server:(13425) 1.666197] gras/gras.c:83: [gras/INFO] Exiting GRAS
+$
+$ ./test_server --cheat & ./test_client 127.0.0.1
+[blaise:client:(13440) 0.000006] test.c:76: [test/INFO] Damn, the server is not on 3000
+[blaise:client:(13440) 0.000219] test.c:76: [test/INFO] Damn, the server is not on 3001
+[blaise:client:(13440) 0.000327] test.c:76: [test/INFO] Damn, the server is not on 3002
+[blaise:client:(13440) 0.000431] test.c:76: [test/INFO] Damn, the server is not on 3003
+[blaise:client:(13440) 0.000533] test.c:76: [test/INFO] Damn, the server is not on 3004
+[blaise:client:(13440) 0.000647] test.c:76: [test/INFO] Damn, the server is not on 3005
+[blaise:client:(13440) 0.000749] test.c:76: [test/INFO] Damn, the server is not on 3006
+[blaise:client:(13440) 0.000851] test.c:76: [test/INFO] Damn, the server is not on 3007
+[blaise:client:(13440) 0.000952] test.c:76: [test/INFO] Damn, the server is not on 3008
+[blaise:client:(13440) 0.001054] test.c:76: [test/INFO] Damn, the server is not on 3009
+[blaise:client:(13440) 0.001101] xbt/ex.c:219: [xbt_ex/CRITICAL] Damn, I failed to find the server! I cannot survive this humilliation.
+** SimGrid: UNCAUGHT EXCEPTION received on blaise(13440): category: not found; value: 0
+** Damn, I failed to find the server! I cannot survive this humilliation.
+** Thrown by client() in this process
+
+** In client() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:80 (static symbol)
+** In main() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/_test_client.c:21 (static symbol)
+** In __libc_start_main() at ??:0 (dynamic symbol)
+** In _start() at ../sysdeps/i386/elf/start.S:122 (static symbol)
+$ killall test_server
+$
+$ ./test_simulator platform.xml test.xml
+[blaise:server:(13437) 0.000005] test.c:36: [test/INFO] Hi! hi! I'm not in the search range, but in 9999...
+[Jacquelin:server:(1) 0.000000] test.c:39: [test/INFO] Ok, I'm hidden on port 3005. Hope for the best.
+[Boivin:client:(2) 1.500000] test.c:76: [test/INFO] Damn, the server is not on 3000
+[Boivin:client:(2) 1.500000] test.c:76: [test/INFO] Damn, the server is not on 3001
+[Boivin:client:(2) 1.500000] test.c:76: [test/INFO] Damn, the server is not on 3002
+[Boivin:client:(2) 1.500000] test.c:76: [test/INFO] Damn, the server is not on 3003
+[Boivin:client:(2) 1.500000] test.c:76: [test/INFO] Damn, the server is not on 3004
+[Boivin:client:(2) 1.500537] test.c:71: [test/INFO] Yeah! I found the server on 3005! It's eradicated by now.
+[Boivin:client:(2) 1.500537] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[Jacquelin:server:(1) 1.500537] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks, I'm out of here...
+[Jacquelin:server:(1) 1.500537] gras/gras.c:83: [gras/INFO] Exiting GRAS
+[1.500537] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
+$
+++ /dev/null
-$ ./test_client
-[blaise:client:(3539) 0.000004] gras/gras.c:79: [gras/INFO] Exiting GRAS
-$ ./test_server
-[blaise:server:(3542) 0.000004] gras/gras.c:79: [gras/INFO] Exiting GRAS
-$
-$ ./test_simulator platform.xml test.xml
-[Jacquelin:server:(1) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[Boivin:client:(2) 0.000000] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[0.000000] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all process are over
-$
+++ /dev/null
-$ ./test_server & ./test_client 127.0.0.1
-[blaise:server:(18660) 0.000005] test.c:39: [test/INFO] Ok, I'm hidden on port 3006. Hope for the best.
-[blaise:server:(18660) 1.528036] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks, I'm out of here...
-[blaise:server:(18660) 1.528059] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[blaise:client:(18664) 0.000005] test.c:76: [test/INFO] Damn, the server is not on 3000
-[blaise:client:(18664) 0.000128] test.c:76: [test/INFO] Damn, the server is not on 3001
-[blaise:client:(18664) 0.000190] test.c:76: [test/INFO] Damn, the server is not on 3002
-[blaise:client:(18664) 0.000250] test.c:76: [test/INFO] Damn, the server is not on 3003
-[blaise:client:(18664) 0.000308] test.c:76: [test/INFO] Damn, the server is not on 3004
-[blaise:client:(18664) 0.000368] test.c:76: [test/INFO] Damn, the server is not on 3005
-[blaise:client:(18664) 0.000535] test.c:81: [test/INFO] Yeah! I found the server on 3006! It's eradicated by now.
-[blaise:client:(18664) 0.000553] gras/gras.c:79: [gras/INFO] Exiting GRAS
-$
-$ ./test_server --cheat & ./test_client 127.0.0.1
-[blaise:client:(18706) 0.000005] test.c:76: [test/INFO] Damn, the server is not on 3000
-[blaise:client:(18706) 0.000130] test.c:76: [test/INFO] Damn, the server is not on 3001
-[blaise:client:(18706) 0.000192] test.c:76: [test/INFO] Damn, the server is not on 3002
-[blaise:client:(18706) 0.000251] test.c:76: [test/INFO] Damn, the server is not on 3003
-[blaise:client:(18706) 0.000309] test.c:76: [test/INFO] Damn, the server is not on 3004
-[blaise:client:(18706) 0.000368] test.c:76: [test/INFO] Damn, the server is not on 3005
-[blaise:client:(18706) 0.000426] test.c:76: [test/INFO] Damn, the server is not on 3006
-[blaise:client:(18706) 0.000485] test.c:76: [test/INFO] Damn, the server is not on 3007
-[blaise:client:(18706) 0.000543] test.c:76: [test/INFO] Damn, the server is not on 3008
-[blaise:client:(18706) 0.000601] test.c:76: [test/INFO] Damn, the server is not on 3009
-[blaise:client:(18706) 0.000631] xbt/ex.c:219: [xbt_ex/CRITICAL] Damn, I failed to find the server! I cannot survive this humilliation.
-** SimGrid: UNCAUGHT EXCEPTION received on blaise(18706): category: not found; value: 0
-** Damn, I failed to find the server! I cannot survive this humilliation.
-** Thrown by client() in this process
-
-** In client() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:79 (static symbol)
-** In main() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/_test_client.c:21 (static symbol)
-** In __libc_start_main() at ??:0 (dynamic symbol)
-** In _start() at ../sysdeps/i386/elf/start.S:122 (static symbol)
-$ killall test_server
-[blaise:server:(18703) 0.000005] test.c:36: [test/INFO] Hi! hi! I'm not in the search range, but in 9999...
-$
-$ ./test_simulator platform.xml test.xml
-[Jacquelin:server:(1) 0.000000] test.c:39: [test/INFO] Ok, I'm hidden on port 3001. Hope for the best.
-[Boivin:client:(2) 1.500000] test.c:76: [test/INFO] Damn, the server is not on 3000
-[Boivin:client:(2) 1.500537] test.c:81: [test/INFO] Yeah! I found the server on 3001! It's eradicated by now.
-[Boivin:client:(2) 1.500537] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[Jacquelin:server:(1) 1.500537] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks, I'm out of here...
-[Jacquelin:server:(1) 1.500537] gras/gras.c:79: [gras/INFO] Exiting GRAS
-[1.500537] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
-$
# This works mainly on my box for now
export LD_LIBRARY_PATH=$(GRAS_ROOT)/lib
-all: 1-bones.output 2-simple.output 3-args.output 4-callback.output \
- 5-globals.output 6-logs.output 7-timers.output 8-exceptions.output \
+all: 01-bones.output 02-simple.output 03-args.output 04-callback.output \
+ 05-globals.output 06-logs.output 07-timers.output 08-exceptions.output \
veryclean: clean
rm *.output*
-# Lesson 1: simple bones of project
+# Lesson 01: simple bones of project
########################################
-1-bones.output: 1-bones_client 1-bones_server 1-bones_simulator
+01-bones.output: 01-bones_client 01-bones_server 01-bones_simulator
echo '$$ ./test_client' > $@
- ./1-bones_client >> $@ 2>&1
+ ./01-bones_client >> $@ 2>&1
echo '$$ ./test_server' >> $@
- ./1-bones_server >> $@ 2>&1
+ ./01-bones_server >> $@ 2>&1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./1-bones_simulator gtut-platform.xml test.xml >> $@ 2>&1
+ ./01-bones_simulator gtut-platform.xml test.xml >> $@ 2>&1
echo '$$' >> $@
-1-bones_client 1-bones_server 1-bones_simulator: _1-bones_client.c _1-bones_server.c _1-bones_simulator.c
- make -f 1-bones.mk
+01-bones_client 01-bones_server 01-bones_simulator: _01-bones_client.c _01-bones_server.c _01-bones_simulator.c
+ make -f 01-bones.mk
-_1-bones_client.c _1-bones_server.c _1-bones_simulator.c: 1-bones.c test.xml
- ../../tools/gras/gras_stub_generator 1-bones test.xml >/dev/null
+_01-bones_client.c _01-bones_server.c _01-bones_simulator.c: 01-bones.c test.xml
+ ../../tools/gras/gras_stub_generator 01-bones test.xml >/dev/null
clean::
- if [ -e 1-bones.mk ] ; then make -f 1-bones.mk clean; fi
- rm -f _1-bones_client.c _1-bones_server.c _1-bones_simulator.c 1-bones.trace 1-bones.mk
+ if [ -e 01-bones.mk ] ; then make -f 01-bones.mk clean; fi
+ rm -f _01-bones_client.c _01-bones_server.c _01-bones_simulator.c 01-bones.trace 01-bones.mk
-# Lesson 2: simple message exchange
+# Lesson 02: simple message exchange
########################################
-2-simple.output: 2-simple_client 2-simple_server 2-simple_simulator
+02-simple.output: 02-simple_client 02-simple_server 02-simple_simulator
echo '$$ ./test_simulator platform.xml test.xml' > $@
- ./2-simple_simulator gtut-platform.xml test.xml >> $@ 2>&1
+ ./02-simple_simulator gtut-platform.xml test.xml >> $@ 2>&1
echo '$$' >> $@
-2-simple_client 2-simple_server 2-simple_simulator: _2-simple_client.c _2-simple_server.c _2-simple_simulator.c
- make -f 2-simple.mk
+02-simple_client 02-simple_server 02-simple_simulator: _02-simple_client.c _02-simple_server.c _02-simple_simulator.c
+ make -f 02-simple.mk
-_2-simple_client.c _2-simple_server.c _2-simple_simulator.c: 2-simple.c test.xml
- ../../tools/gras/gras_stub_generator 2-simple test.xml >/dev/null
+_02-simple_client.c _02-simple_server.c _02-simple_simulator.c: 02-simple.c test.xml
+ ../../tools/gras/gras_stub_generator 02-simple test.xml >/dev/null
clean::
- if [ -e 2-simple.mk ] ; then make -f 2-simple.mk clean; fi
- rm -f _2-simple_client.c _2-simple_server.c _2-simple_simulator.c 2-simple.trace 2-simple.mk
+ if [ -e 02-simple.mk ] ; then make -f 02-simple.mk clean; fi
+ rm -f _02-simple_client.c _02-simple_server.c _02-simple_simulator.c 02-simple.trace 02-simple.mk
-# Lesson 3: passing args to processes
+# Lesson 03: passing args to processes
########################################
-3-args.output: 3-args_client 3-args_server 3-args_simulator
+03-args.output: 03-args_client 03-args_server 03-args_simulator
echo '$$ ./test_server 12345 & ./test_client 127.0.0.1 12345' > $@
- ./3-args_server 12345 >> $@ 2>&1&
- ./3-args_client 127.0.0.1 12345 >> $@ 2>&1
+ ./03-args_server 12345 >> $@ 2>&1&
+ ./03-args_client 127.0.0.1 12345 >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./3-args_simulator gtut-platform.xml 3-args.xml >> $@ 2>&1
+ ./03-args_simulator gtut-platform.xml 03-args.xml >> $@ 2>&1
echo '$$' >> $@
- killall 3-args_server 3-args_client 2>/dev/null || true
+ killall 03-args_server 03-args_client 2>/dev/null || true
-3-args_client 3-args_server 3-args_simulator: _3-args_client.c _3-args_server.c _3-args_simulator.c
- make -f 3-args.mk
+03-args_client 03-args_server 03-args_simulator: _03-args_client.c _03-args_server.c _03-args_simulator.c
+ make -f 03-args.mk
-_3-args_client.c _3-args_server.c _3-args_simulator.c: 3-args.c 3-args.xml
- ../../tools/gras/gras_stub_generator 3-args 3-args.xml >/dev/null
+_03-args_client.c _03-args_server.c _03-args_simulator.c: 03-args.c 03-args.xml
+ ../../tools/gras/gras_stub_generator 03-args 03-args.xml >/dev/null
clean::
- if [ -e 3-args.mk ] ; then make -f 3-args.mk clean; fi
- rm -f _3-args_client.c _3-args_server.c _3-args_simulator.c 3-args.trace 3-args.mk
+ if [ -e 03-args.mk ] ; then make -f 03-args.mk clean; fi
+ rm -f _03-args_client.c _03-args_server.c _03-args_simulator.c 03-args.trace 03-args.mk
# Lesson 4: callbacks
########################################
-4-callback.output: 4-callback_client 4-callback_server 4-callback_simulator
+04-callback.output: 04-callback_client 04-callback_server 04-callback_simulator
echo '$$ ./test_server 23451 & ./test_client 127.0.0.1 23451' > $@
- ./4-callback_server 23451 >> $@ 2>&1&
- ./4-callback_client 127.0.0.1 23451 >> $@ 2>&1
+ ./04-callback_server 23451 >> $@ 2>&1&
+ ./04-callback_client 127.0.0.1 23451 >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./4-callback_simulator gtut-platform.xml 3-args.xml >> $@ 2>&1
+ ./04-callback_simulator gtut-platform.xml 03-args.xml >> $@ 2>&1
echo '$$' >> $@
- killall 4-callback_server 4-callback_client 2>/dev/null || true
+ killall 04-callback_server 04-callback_client 2>/dev/null || true
-4-callback_client 4-callback_server 4-callback_simulator: _4-callback_client.c _4-callback_server.c _4-callback_simulator.c
- make -f 4-callback.mk
+04-callback_client 04-callback_server 04-callback_simulator: _04-callback_client.c _04-callback_server.c _04-callback_simulator.c
+ make -f 04-callback.mk
-_4-callback_client.c _4-callback_server.c _4-callback_simulator.c: 4-callback.c 3-args.xml
- ../../tools/gras/gras_stub_generator 4-callback 3-args.xml >/dev/null
+_04-callback_client.c _04-callback_server.c _04-callback_simulator.c: 04-callback.c 03-args.xml
+ ../../tools/gras/gras_stub_generator 04-callback 03-args.xml >/dev/null
clean::
- if [ -e 4-callback.mk ] ; then make -f 4-callback.mk clean; fi
- rm -f _4-callback_client.c _4-callback_server.c _4-callback_simulator.c 4-callback.trace 4-callback.mk
+ if [ -e 04-callback.mk ] ; then make -f 04-callback.mk clean; fi
+ rm -f _04-callback_client.c _04-callback_server.c _04-callback_simulator.c 04-callback.trace 04-callback.mk
# Lesson 5: globals
########################################
-5-globals.output: 5-globals_client 5-globals_server 5-globals_simulator
+05-globals.output: 05-globals_client 05-globals_server 05-globals_simulator
echo '$$ ./test_server 12345 & ./test_client 127.0.0.1 12345' > $@
- ./5-globals_server 12345 >> $@ 2>&1&
- ./5-globals_client 127.0.0.1 12345 >> $@ 2>&1
+ ./05-globals_server 12345 >> $@ 2>&1&
+ ./05-globals_client 127.0.0.1 12345 >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./5-globals_simulator gtut-platform.xml 3-args.xml >> $@ 2>&1
+ ./05-globals_simulator gtut-platform.xml 03-args.xml >> $@ 2>&1
echo '$$' >> $@
- killall 5-globals_server 5-globals_client 2>/dev/null || true
+ killall 05-globals_server 05-globals_client 2>/dev/null || true
-5-globals_client 5-globals_server 5-globals_simulator: _5-globals_client.c _5-globals_server.c _5-globals_simulator.c
- make -f 5-globals.mk
+05-globals_client 05-globals_server 05-globals_simulator: _05-globals_client.c _05-globals_server.c _05-globals_simulator.c
+ make -f 05-globals.mk
-_5-globals_client.c _5-globals_server.c _5-globals_simulator.c: 5-globals.c 3-args.xml
- ../../tools/gras/gras_stub_generator 5-globals 3-args.xml >/dev/null
+_05-globals_client.c _05-globals_server.c _05-globals_simulator.c: 05-globals.c 03-args.xml
+ ../../tools/gras/gras_stub_generator 05-globals 03-args.xml >/dev/null
clean::
- if [ -e 5-globals.mk ] ; then make -f 5-globals.mk clean; fi
- rm -f _5-globals_client.c _5-globals_server.c _5-globals_simulator.c 5-globals.trace 5-globals.mk
+ if [ -e 05-globals.mk ] ; then make -f 05-globals.mk clean; fi
+ rm -f _05-globals_client.c _05-globals_server.c _05-globals_simulator.c 05-globals.trace 05-globals.mk
# Lesson 6: logs
########################################
-6-logs.output: 6-logs_client 6-logs_server 6-logs_simulator 6-logs.output.verbose 6-logs.output.error
+06-logs.output: 06-logs_client 06-logs_server 06-logs_simulator 06-logs.output.verbose 06-logs.output.error
echo '$$ ./test_server 12345 & ./test_client 127.0.0.1 12345' > $@
- ./6-logs_server 12345 2>&1 |sed s/6-logs/test/ >> $@ 2>&1&
- ./6-logs_client 127.0.0.1 12345 2>&1 |sed s/6-logs/test/ >> $@ 2>&1
+ ./06-logs_server 12345 2>&1 |sed s/06-logs/test/ >> $@ 2>&1&
+ ./06-logs_client 127.0.0.1 12345 2>&1 |sed s/06-logs/test/ >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./6-logs_simulator gtut-platform.xml 3-args.xml 2>&1 |sed s/6-logs/test/ >> $@ 2>&1
+ ./06-logs_simulator gtut-platform.xml 03-args.xml 2>&1 |sed s/06-logs/test/ >> $@ 2>&1
echo '$$' >> $@
- killall 6-logs_server 6-logs_client 2>/dev/null || true
+ killall 06-logs_server 06-logs_client 2>/dev/null || true
-6-logs.output.verbose: 6-logs_client 6-logs_server 6-logs_simulator
+06-logs.output.verbose: 06-logs_client 06-logs_server 06-logs_simulator
echo '$$ ./test_server 12345 --gras-log=test.thres=verbose & ./test_client 127.0.0.1 12345 --gras-log=test.thres=verbose' > $@
- ./6-logs_server 12345 --gras-log=test.thres=verbose 2>&1 |sed s/6-logs/test/ >> $@ 2>&1&
- ./6-logs_client 127.0.0.1 12345 --gras-log=test.thres=verbose 2>&1 |sed s/6-logs/test/ >> $@ 2>&1
+ ./06-logs_server 12345 --gras-log=test.thres=verbose 2>&1 |sed s/06-logs/test/ >> $@ 2>&1&
+ ./06-logs_client 127.0.0.1 12345 --gras-log=test.thres=verbose 2>&1 |sed s/06-logs/test/ >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml --gras-log=test.thres=verbose' >> $@
- ./6-logs_simulator gtut-platform.xml 3-args.xml --gras-log=test.thres=verbose 2>&1 |sed s/6-logs/test/ >> $@ 2>&1
+ ./06-logs_simulator gtut-platform.xml 03-args.xml --gras-log=test.thres=verbose 2>&1 |sed s/06-logs/test/ >> $@ 2>&1
echo '$$' >> $@
- killall 6-logs_server 6-logs_client 2>/dev/null || true
+ killall 06-logs_server 06-logs_client 2>/dev/null || true
-6-logs.output.error: 6-logs_client 6-logs_server 6-logs_simulator
+06-logs.output.error: 06-logs_client 06-logs_server 06-logs_simulator
echo '$$ ./test_server 12345 --gras-log=root.thres=error & ./test_client 127.0.0.1 12345 --gras-log=root.thres=error' > $@
- ./6-logs_server 12345 --gras-log=root.thres=error 2>&1 |sed s/6-logs/test/ >> $@ 2>&1&
- ./6-logs_client 127.0.0.1 12345 --gras-log=root.thres=error 2>&1 |sed s/6-logs/test/ >> $@ 2>&1
+ ./06-logs_server 12345 --gras-log=root.thres=error 2>&1 |sed s/06-logs/test/ >> $@ 2>&1&
+ ./06-logs_client 127.0.0.1 12345 --gras-log=root.thres=error 2>&1 |sed s/06-logs/test/ >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml --gras-log=root.thres=error' >> $@
- ./6-logs_simulator gtut-platform.xml 3-args.xml --gras-log=root.thres=error 2>&1 |sed s/6-logs/test/ >> $@ 2>&1
+ ./06-logs_simulator gtut-platform.xml 03-args.xml --gras-log=root.thres=error 2>&1 |sed s/06-logs/test/ >> $@ 2>&1
echo '$$' >> $@
- killall 6-logs_server 6-logs_client 2>/dev/null || true
+ killall 06-logs_server 06-logs_client 2>/dev/null || true
-6-logs_client 6-logs_server 6-logs_simulator: _6-logs_client.c _6-logs_server.c _6-logs_simulator.c
- make -f 6-logs.mk
+06-logs_client 06-logs_server 06-logs_simulator: _06-logs_client.c _06-logs_server.c _06-logs_simulator.c
+ make -f 06-logs.mk
-_6-logs_client.c _6-logs_server.c _6-logs_simulator.c: 6-logs.c 3-args.xml
- ../../tools/gras/gras_stub_generator 6-logs 3-args.xml >/dev/null
+_06-logs_client.c _06-logs_server.c _06-logs_simulator.c: 06-logs.c 03-args.xml
+ ../../tools/gras/gras_stub_generator 06-logs 03-args.xml >/dev/null
clean::
- if [ -e 6-logs.mk ] ; then make -f 6-logs.mk clean; fi
- rm -f _6-logs_client.c _6-logs_server.c _6-logs_simulator.c 6-logs.trace 6-logs.mk
+ if [ -e 06-logs.mk ] ; then make -f 06-logs.mk clean; fi
+ rm -f _06-logs_client.c _06-logs_server.c _06-logs_simulator.c 06-logs.trace 06-logs.mk
# Lesson 7: timers
########################################
-7-timers.output: 7-timers_client 7-timers_server 7-timers_simulator
+07-timers.output: 07-timers_client 07-timers_server 07-timers_simulator
echo '$$ ./test_server 12345 & ./test_client 127.0.0.1 12345' > $@
- ./7-timers_server 12345 2>&1 |sed s/7-timers/test/ >> $@ 2>&1&
- ./7-timers_client 127.0.0.1 12345 2>&1 |sed s/7-timers/test/ >> $@ 2>&1
+ ./07-timers_server 12345 2>&1 |sed s/07-timers/test/ >> $@ 2>&1&
+ ./07-timers_client 127.0.0.1 12345 2>&1 |sed s/07-timers/test/ >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./7-timers_simulator gtut-platform.xml 3-args.xml 2>&1 |sed s/7-timers/test/ >> $@ 2>&1
+ ./07-timers_simulator gtut-platform.xml 03-args.xml 2>&1 |sed s/07-timers/test/ >> $@ 2>&1
echo '$$' >> $@
- killall 7-timers_server 7-timers_client 2>/dev/null || true
+ killall 07-timers_server 07-timers_client 2>/dev/null || true
-7-timers_client 7-timers_server 7-timers_simulator: _7-timers_client.c _7-timers_server.c _7-timers_simulator.c
- make -f 7-timers.mk
+07-timers_client 07-timers_server 07-timers_simulator: _07-timers_client.c _07-timers_server.c _07-timers_simulator.c
+ make -f 07-timers.mk
-_7-timers_client.c _7-timers_server.c _7-timers_simulator.c: 7-timers.c 3-args.xml
- ../../tools/gras/gras_stub_generator 7-timers 3-args.xml >/dev/null
+_07-timers_client.c _07-timers_server.c _07-timers_simulator.c: 07-timers.c 03-args.xml
+ ../../tools/gras/gras_stub_generator 07-timers 03-args.xml >/dev/null
clean::
- if [ -e 7-timers.mk ] ; then make -f 7-timers.mk clean; fi
- rm -f _7-timers_client.c _7-timers_server.c _7-timers_simulator.c 7-timers.trace 7-timers.mk
+ if [ -e 07-timers.mk ] ; then make -f 07-timers.mk clean; fi
+ rm -f _07-timers_client.c _07-timers_server.c _07-timers_simulator.c 07-timers.trace 07-timers.mk
# Lesson 8: exceptions
########################################
-8-exceptions.output: 8-exceptions_client 8-exceptions_server 8-exceptions_simulator
+08-exceptions.output: 08-exceptions_client 08-exceptions_server 08-exceptions_simulator
echo '$$ ./test_server & ./test_client 127.0.0.1 ' > $@
- ./8-exceptions_server 2>&1 |sed s/8-exceptions/test/ >> $@ 2>&1&
- ./8-exceptions_client 127.0.0.1 2>&1 |sed s/8-exceptions/test/ >> $@ 2>&1
+ ./08-exceptions_server 2>&1 |sed s/08-exceptions/test/ >> $@ 2>&1&
+ ./08-exceptions_client 127.0.0.1 2>&1 |sed s/08-exceptions/test/ >> $@ 2>&1
sleep 1
echo '$$' >> $@
echo '$$ ./test_server --cheat & ./test_client 127.0.0.1 ' >> $@
- ./8-exceptions_server --cheat 2>&1 |sed s/8-exceptions/test/ >> $@ 2>&1&
- ./8-exceptions_client 127.0.0.1 2>&1 |sed s/8-exceptions/test/ >> $@ 2>&1
+ ./08-exceptions_server --cheat 2>&1 |sed s/08-exceptions/test/ >> $@ 2>&1&
+ ./08-exceptions_client 127.0.0.1 2>&1 |sed s/08-exceptions/test/ >> $@ 2>&1
sleep 1
echo '$$ killall test_server' >> $@
- killall 8-exceptions_server 8-exceptions_client 2>/dev/null || true
+ killall 08-exceptions_server 08-exceptions_client 2>/dev/null || true
echo '$$' >> $@
echo '$$ ./test_simulator platform.xml test.xml' >> $@
- ./8-exceptions_simulator gtut-platform.xml 3-args.xml 2>&1 |sed s/8-exceptions/test/ >> $@ 2>&1
+ ./08-exceptions_simulator gtut-platform.xml 03-args.xml 2>&1 |sed s/08-exceptions/test/ >> $@ 2>&1
echo '$$' >> $@
-8-exceptions_client 8-exceptions_server 8-exceptions_simulator: _8-exceptions_client.c _8-exceptions_server.c _8-exceptions_simulator.c
- make -f 8-exceptions.mk
+08-exceptions_client 08-exceptions_server 08-exceptions_simulator: _08-exceptions_client.c _08-exceptions_server.c _08-exceptions_simulator.c
+ make -f 08-exceptions.mk
-_8-exceptions_client.c _8-exceptions_server.c _8-exceptions_simulator.c: 8-exceptions.c 3-args.xml
- ../../tools/gras/gras_stub_generator 8-exceptions 3-args.xml >/dev/null
+_08-exceptions_client.c _08-exceptions_server.c _08-exceptions_simulator.c: 08-exceptions.c 03-args.xml
+ ../../tools/gras/gras_stub_generator 08-exceptions 03-args.xml >/dev/null
# Lesson 9: simple data exchange
########################################
clean::
- if [ -e 8-exceptions.mk ] ; then make -f 8-exceptions.mk clean; fi
- rm -f _8-exceptions_client.c _8-exceptions_server.c _8-exceptions_simulator.c 8-exceptions.trace 8-exceptions.mk
+ if [ -e 08-exceptions.mk ] ; then make -f 08-exceptions.mk clean; fi
+ rm -f _08-exceptions_client.c _08-exceptions_server.c _08-exceptions_simulator.c 08-exceptions.trace 08-exceptions.mk