From 3b5febba0a97cfea3bbda8a2c526666cfb663903 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 17 Jul 2007 14:14:17 +0000 Subject: [PATCH] regenerate output files with lastest version of the stuff git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3837 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- doc/gtut-files/01-bones.output | 9 +- doc/gtut-files/02-simple.c | 1 + doc/gtut-files/02-simple.output | 7 +- doc/gtut-files/03-args.c | 1 + doc/gtut-files/03-args.output | 11 +- doc/gtut-files/04-callback.c | 1 + doc/gtut-files/04-callback.output | 11 +- doc/gtut-files/05-globals.c | 1 + doc/gtut-files/05-globals.output | 11 +- doc/gtut-files/06-logs.output | 27 ++--- doc/gtut-files/06-logs.output.error | 6 +- doc/gtut-files/06-logs.output.verbose | 33 +++-- doc/gtut-files/07-timers.output | 103 ++++++++-------- doc/gtut-files/08-exceptions.output | 77 ++++++------ doc/gtut-files/09-simpledata.output | 25 ++-- doc/gtut-files/10-rpc.output | 83 ++++++------- doc/gtut-files/11-explicitwait.output | 167 +++++++++++++------------- 17 files changed, 282 insertions(+), 292 deletions(-) diff --git a/doc/gtut-files/01-bones.output b/doc/gtut-files/01-bones.output index 27201a68fe..4164d88f4c 100644 --- a/doc/gtut-files/01-bones.output +++ b/doc/gtut-files/01-bones.output @@ -1,10 +1,9 @@ $ ./test_client -[blaise:client:(12985) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:client:(17112) 0.000007] [gras/INFO] Exiting GRAS $ ./test_server -[blaise:server:(12988) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:server:(17115) 0.000007] [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 +[Jacquelin:server:(1) 0.000000] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 0.000000] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/02-simple.c b/doc/gtut-files/02-simple.c index e9d4401695..98ccee74cf 100644 --- a/doc/gtut-files/02-simple.c +++ b/doc/gtut-files/02-simple.c @@ -1,3 +1,4 @@ +#include #include int server(int argc, char *argv[]) { diff --git a/doc/gtut-files/02-simple.output b/doc/gtut-files/02-simple.output index 32c54cdddd..b0152ab6be 100644 --- a/doc/gtut-files/02-simple.output +++ b/doc/gtut-files/02-simple.output @@ -1,8 +1,7 @@ $ ./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:83: [gras/INFO] Exiting GRAS Cool, we received the message from Boivin:1024. -[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 +[Jacquelin:server:(1) 0.000000] [gras/INFO] Exiting GRAS +That's it, we sent the data to the server +[Boivin:client:(2) 0.000000] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/03-args.c b/doc/gtut-files/03-args.c index 43817adf71..ef6a61fd22 100644 --- a/doc/gtut-files/03-args.c +++ b/doc/gtut-files/03-args.c @@ -1,3 +1,4 @@ +#include #include int server(int argc, char *argv[]) { diff --git a/doc/gtut-files/03-args.output b/doc/gtut-files/03-args.output index ba64a652eb..2d865fc7d0 100644 --- a/doc/gtut-files/03-args.output +++ b/doc/gtut-files/03-args.output @@ -1,15 +1,14 @@ $ ./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:(13082) 0.000006] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:client:(17208) 0.000014] [gras/INFO] Exiting GRAS Cool, we received the message from 127.0.0.1:1024. -[blaise:server:(13080) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:server:(17206) 0.000007] [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:83: [gras/INFO] Exiting GRAS Cool, we received the message from Boivin:1024. -[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 +[Jacquelin:server:(1) 0.000000] [gras/INFO] Exiting GRAS +That's it, we sent the data to the server on Jacquelin +[Boivin:client:(2) 0.000000] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/04-callback.c b/doc/gtut-files/04-callback.c index 193efb7747..dc4c6746af 100644 --- a/doc/gtut-files/04-callback.c +++ b/doc/gtut-files/04-callback.c @@ -1,3 +1,4 @@ +#include #include int server_hello_cb(gras_msg_cb_ctx_t ctx, void *payload) { diff --git a/doc/gtut-files/04-callback.output b/doc/gtut-files/04-callback.output index c015271122..ad94484869 100644 --- a/doc/gtut-files/04-callback.output +++ b/doc/gtut-files/04-callback.output @@ -1,15 +1,14 @@ $ ./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:(13137) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:client:(17261) 0.000012] [gras/INFO] Exiting GRAS Cool, we received the message from 127.0.0.1:1024. -[blaise:server:(13135) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:server:(17259) 0.000011] [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:83: [gras/INFO] Exiting GRAS Cool, we received the message from Boivin:1024. -[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 +[Jacquelin:server:(1) 0.000000] [gras/INFO] Exiting GRAS +That's it, we sent the data to the server on Jacquelin +[Boivin:client:(2) 0.000000] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/05-globals.c b/doc/gtut-files/05-globals.c index 6b9d974125..9e71e02d64 100644 --- a/doc/gtut-files/05-globals.c +++ b/doc/gtut-files/05-globals.c @@ -1,3 +1,4 @@ +#include #include typedef struct { diff --git a/doc/gtut-files/05-globals.output b/doc/gtut-files/05-globals.output index 663b877abd..da2e53d7ae 100644 --- a/doc/gtut-files/05-globals.output +++ b/doc/gtut-files/05-globals.output @@ -3,19 +3,18 @@ Client ready; listening on 1024 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:(13192) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS Cool, we received the message from 127.0.0.1:1024. +[blaise:client:(17314) 0.000015] [gras/INFO] Exiting GRAS Argh, killed by 127.0.0.1:1024! Bye folks... -[blaise:server:(13190) 0.000005] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:server:(17312) 0.000007] [gras/INFO] Exiting GRAS $ $ ./test_simulator platform.xml test.xml Client ready; listening on 1024 +Cool, we received the message from Boivin:1024. we sent the data to the server on Jacquelin. Let's do it again for fun 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:83: [gras/INFO] Exiting GRAS Argh, killed by Boivin:1024! Bye folks... -[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 +[Jacquelin:server:(1) 0.000000] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 0.000000] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/06-logs.output b/doc/gtut-files/06-logs.output index 27d9d962c9..ba9f25430e 100644 --- a/doc/gtut-files/06-logs.output +++ b/doc/gtut-files/06-logs.output @@ -1,19 +1,18 @@ $ ./test_server 12345 & ./test_client 127.0.0.1 12345 -[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 +[blaise:client:(17508) 0.000015] [test/INFO] we sent the data to the server on 127.0.0.1. Let's do it again for fun +[blaise:client:(17508) 0.000077] [test/INFO] Ok. Enough. Have a rest, and then kill the server +[blaise:client:(17508) 5.000240] [gras/INFO] Exiting GRAS +[blaise:server:(17505) 0.000010] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17505) 0.000060] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17505) 4.999482] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks... +[blaise:server:(17505) 4.999508] [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:83: [gras/INFO] Exiting GRAS +[Jacquelin:server:(1) 0.000000] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 0.000000] [test/INFO] we sent the data to the server on Jacquelin. Let's do it again for fun +[Jacquelin:server:(1) 0.000537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 0.000537] [test/INFO] Ok. Enough. Have a rest, and then kill the server [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:83: [gras/INFO] Exiting GRAS -[5.001074] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over +[Jacquelin:server:(1) 5.001074] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 5.001074] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/06-logs.output.error b/doc/gtut-files/06-logs.output.error index 8fbe34df8e..9b451920bf 100644 --- a/doc/gtut-files/06-logs.output.error +++ b/doc/gtut-files/06-logs.output.error @@ -1,6 +1,6 @@ -$ ./test_server 12345 --gras-log=root.thres=error & ./test_client 127.0.0.1 12345 --gras-log=root.thres=error -[blaise:server:(13272) 0.000005] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks... +$ ./test_server 12345 --log=root.thres:error & ./test_client 127.0.0.1 12345 --log=root.thres:error +[blaise:server:(17484) 0.000016] 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 +$ ./test_simulator platform.xml test.xml --log=root.thres:error [Jacquelin:server:(1) 0.000000] test.c:15: [test/CRITICAL] Argh, killed by Boivin:1024! Bye folks... $ diff --git a/doc/gtut-files/06-logs.output.verbose b/doc/gtut-files/06-logs.output.verbose index 7a8ff61009..b81e060551 100644 --- a/doc/gtut-files/06-logs.output.verbose +++ b/doc/gtut-files/06-logs.output.verbose @@ -1,21 +1,20 @@ -$ ./test_server 12345 --gras-log=test.thres=verbose & ./test_client 127.0.0.1 12345 --gras-log=test.thres=verbose -[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_server 12345 --log=test.thres:verbose & ./test_client 127.0.0.1 12345 --log=test.thres:verbose +[blaise:client:(17466) 0.000007] test.c:65: [test/VERBOSE] Client ready; listening on 1024 +[blaise:client:(17466) 1.507616] [test/INFO] we sent the data to the server on 127.0.0.1. Let's do it again for fun +[blaise:client:(17466) 1.507670] [test/INFO] Ok. Enough. Have a rest, and then kill the server +[blaise:client:(17466) 6.507824] [gras/INFO] Exiting GRAS +[blaise:server:(17463) 0.000011] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17463) 0.000063] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17463) 4.999448] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks... +[blaise:server:(17463) 4.999474] [gras/INFO] Exiting GRAS $ -$ ./test_simulator platform.xml test.xml --gras-log=test.thres=verbose +$ ./test_simulator platform.xml test.xml --log=test.thres:verbose [Boivin:client:(2) 0.000000] test.c:65: [test/VERBOSE] Client ready; listening on 1024 -[Boivin:client:(2) 1.500537] test.c:71: [test/INFO] we sent the data to the server on Jacquelin. Let's do it again for fun -[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:83: [gras/INFO] Exiting GRAS +[Jacquelin:server:(1) 1.500537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 1.500537] [test/INFO] we sent the data to the server on Jacquelin. Let's do it again for fun +[Jacquelin:server:(1) 1.501074] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 1.501074] [test/INFO] Ok. Enough. Have a rest, and then kill the server [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:83: [gras/INFO] Exiting GRAS -[6.501611] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over +[Jacquelin:server:(1) 6.501611] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 6.501611] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/07-timers.output b/doc/gtut-files/07-timers.output index 87e4b06e47..26f7e9c092 100644 --- a/doc/gtut-files/07-timers.output +++ b/doc/gtut-files/07-timers.output @@ -1,57 +1,56 @@ $ ./test_server 12345 & ./test_client 127.0.0.1 12345 -[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 +[blaise:client:(17567) 0.000015] [test/INFO] Programming the repetitive action with a frequency of 0.5 sec +[blaise:client:(17567) 0.000063] [test/INFO] Programming the delayed action in 5 secs +[blaise:client:(17567) 0.503472] [test/INFO] Hello sent to server +[blaise:client:(17567) 1.007344] [test/INFO] Hello sent to server +[blaise:client:(17567) 1.511330] [test/INFO] Hello sent to server +[blaise:client:(17567) 2.015327] [test/INFO] Hello sent to server +[blaise:client:(17567) 2.527300] [test/INFO] Hello sent to server +[blaise:client:(17567) 3.027365] [test/INFO] Hello sent to server +[blaise:client:(17567) 3.531320] [test/INFO] Hello sent to server +[blaise:client:(17567) 4.035367] [test/INFO] Hello sent to server +[blaise:client:(17567) 4.543520] [test/INFO] Hello sent to server +[blaise:client:(17567) 5.003664] [test/INFO] Kill sent to server +[blaise:client:(17567) 5.003681] [test/INFO] Break the client's while loop +[blaise:client:(17567) 5.003690] [gras/INFO] Exiting GRAS +[blaise:server:(17564) 0.000012] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 0.503819] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 1.007802] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 1.511793] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 2.023832] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 2.523847] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 3.027788] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 3.531897] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 4.046195] [test/INFO] Cool, we received the message from 127.0.0.1:1024. +[blaise:server:(17564) 4.500338] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks... +[blaise:server:(17564) 4.500353] [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 -[Boivin:client:(2) 0.000000] test.c:103: [test/INFO] Programming the delayed action in 5 secs -[Boivin:client:(2) 0.500537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 0.500537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 1.000537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 1.000537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 1.500537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 1.500537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 2.000537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 2.000537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 2.500537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 2.500537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 3.000537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 3.000537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 3.500537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 3.500537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 4.000537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 4.000537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 4.500537] test.c:67: [test/INFO] Hello sent to server -[Jacquelin:server:(1) 4.500537] test.c:26: [test/INFO] Cool, we received the message from Boivin:1024. -[Boivin:client:(2) 5.000537] test.c:67: [test/INFO] Hello sent to server -[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:83: [gras/INFO] Exiting GRAS +[Boivin:client:(2) 0.000000] [test/INFO] Programming the repetitive action with a frequency of 0.5 sec +[Boivin:client:(2) 0.000000] [test/INFO] Programming the delayed action in 5 secs +[Jacquelin:server:(1) 0.500537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 0.500537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 1.000537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 1.000537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 1.500537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 1.500537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 2.000537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 2.000537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 2.500537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 2.500537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 3.000537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 3.000537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 3.500537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 3.500537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 4.000537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 4.000537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 4.500537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 4.500537] [test/INFO] Hello sent to server +[Jacquelin:server:(1) 5.000537] [test/INFO] Cool, we received the message from Boivin:1024. +[Boivin:client:(2) 5.000537] [test/INFO] Hello sent to server [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:83: [gras/INFO] Exiting GRAS -[5.001074] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over +[Jacquelin:server:(1) 5.001074] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 5.001074] [test/INFO] Kill sent to server +[Boivin:client:(2) 5.001074] [test/INFO] Break the client's while loop +[Boivin:client:(2) 5.001074] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/08-exceptions.output b/doc/gtut-files/08-exceptions.output index 8beef4d04a..72844f1e7b 100644 --- a/doc/gtut-files/08-exceptions.output +++ b/doc/gtut-files/08-exceptions.output @@ -1,49 +1,50 @@ $ ./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 +[blaise:client:(17626) 0.000012] [test/INFO] Damn, the server is not on 3000 +[blaise:client:(17626) 0.000182] [test/INFO] Damn, the server is not on 3001 +[blaise:client:(17626) 0.000271] [test/INFO] Damn, the server is not on 3002 +[blaise:client:(17626) 0.000356] [test/INFO] Damn, the server is not on 3003 +[blaise:client:(17626) 0.000441] [test/INFO] Damn, the server is not on 3004 +[blaise:client:(17626) 0.000525] [test/INFO] Damn, the server is not on 3005 +[blaise:client:(17626) 0.000617] [test/INFO] Damn, the server is not on 3006 +[blaise:client:(17626) 0.000955] [test/INFO] Yeah! I found the server on 3007! It's eradicated by now. +[blaise:client:(17626) 0.000973] [gras/INFO] Exiting GRAS +[blaise:server:(17623) 0.000008] [test/INFO] Ok, I'm hidden on port 3007. Hope for the best. +[blaise:server:(17623) 1.512726] test.c:15: [test/CRITICAL] Argh, killed by 127.0.0.1:1024! Bye folks, I'm out of here... +[blaise:server:(17623) 1.512756] [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 +[blaise:client:(17636) 0.000012] [test/INFO] Damn, the server is not on 3000 +[blaise:client:(17636) 0.000176] [test/INFO] Damn, the server is not on 3001 +[blaise:client:(17636) 0.000264] [test/INFO] Damn, the server is not on 3002 +[blaise:client:(17636) 0.000349] [test/INFO] Damn, the server is not on 3003 +[blaise:client:(17636) 0.000433] [test/INFO] Damn, the server is not on 3004 +[blaise:client:(17636) 0.000516] [test/INFO] Damn, the server is not on 3005 +[blaise:client:(17636) 0.000599] [test/INFO] Damn, the server is not on 3006 +[blaise:client:(17636) 0.000682] [test/INFO] Damn, the server is not on 3007 +[blaise:client:(17636) 0.000766] [test/INFO] Damn, the server is not on 3008 +[blaise:client:(17636) 0.000848] [test/INFO] Damn, the server is not on 3009 +** SimGrid: UNCAUGHT EXCEPTION received on blaise(17636): category: not found; value: 0 ** Damn, I failed to find the server! I cannot survive this humilliation. ** Thrown by client() in this process +[blaise:client:(17636) 0.000904] xbt/ex.c:323: [xbt_ex/CRITICAL] Damn, I failed to find the server! I cannot survive this humilliation. -** 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) +** In client() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:80 +** In main() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/_test_client.c:31 $ killall test_server +[blaise:server:(17633) 0.000008] [test/INFO] Hi! hi! I'm not in the search range, but in 9999... $ $ ./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) 0.000000] [test/INFO] Ok, I'm hidden on port 3008. Hope for the best. +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3000 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3001 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3002 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3003 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3004 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3005 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3006 +[Boivin:client:(2) 1.500000] [test/INFO] Damn, the server is not on 3007 [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 +[Jacquelin:server:(1) 1.500537] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 1.500537] [test/INFO] Yeah! I found the server on 3008! It's eradicated by now. +[Boivin:client:(2) 1.500537] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/09-simpledata.output b/doc/gtut-files/09-simpledata.output index 15dd561b03..4e774b8751 100644 --- a/doc/gtut-files/09-simpledata.output +++ b/doc/gtut-files/09-simpledata.output @@ -1,19 +1,18 @@ $ ./test_server 12345 & ./test_client 127.0.0.1 12345 -[blaise:client:(14270) 0.000006] test.c:82: [test/INFO] we sent the hello to the server on 127.0.0.1. -[blaise:client:(14270) 0.000111] test.c:86: [test/INFO] Gave the server more 0.5 second to live -[blaise:client:(14270) 0.000138] gras/gras.c:83: [gras/INFO] Exiting GRAS -[blaise:server:(14267) 0.000006] test.c:32: [test/INFO] Cool, we received a message from 127.0.0.1:1024. Here it is: "Nice to meet you" -[blaise:server:(14267) 0.000107] test.c:16: [test/CRITICAL] Argh, 127.0.0.1:1024 gave me 0.50 seconds before suicide! -[blaise:server:(14267) 0.522846] test.c:18: [test/CRITICAL] Bye folks... -[blaise:server:(14267) 0.522900] gras/gras.c:83: [gras/INFO] Exiting GRAS +[blaise:client:(17701) 0.000018] [test/INFO] we sent the hello to the server on 127.0.0.1. +[blaise:client:(17701) 0.000080] [test/INFO] Gave the server more 0.5 second to live +[blaise:client:(17701) 0.000103] [gras/INFO] Exiting GRAS +[blaise:server:(17698) 0.000013] [test/INFO] Cool, we received a message from 127.0.0.1:1024. Here it is: "Nice to meet you" +[blaise:server:(17698) 0.000075] test.c:16: [test/CRITICAL] Argh, 127.0.0.1:1024 gave me 0.50 seconds before suicide! +[blaise:server:(17698) 0.500296] test.c:18: [test/CRITICAL] Bye folks... +[blaise:server:(17698) 0.500337] [gras/INFO] Exiting GRAS $ $ ./test_simulator platform.xml test.xml -[Boivin:client:(2) 0.000000] test.c:82: [test/INFO] we sent the hello to the server on Jacquelin. -[Jacquelin:server:(1) 0.000000] test.c:32: [test/INFO] Cool, we received a message from Boivin:1024. Here it is: "Nice to meet you" -[Boivin:client:(2) 0.000539] test.c:86: [test/INFO] Gave the server more 0.5 second to live -[Boivin:client:(2) 0.000539] gras/gras.c:83: [gras/INFO] Exiting GRAS +[Jacquelin:server:(1) 0.000000] [test/INFO] Cool, we received a message from Boivin:1024. Here it is: "Nice to meet you" +[Boivin:client:(2) 0.000000] [test/INFO] we sent the hello to the server on Jacquelin. [Jacquelin:server:(1) 0.000539] test.c:16: [test/CRITICAL] Argh, Boivin:1024 gave me 0.50 seconds before suicide! +[Boivin:client:(2) 0.000539] [test/INFO] Gave the server more 0.5 second to live +[Boivin:client:(2) 0.000539] [gras/INFO] Exiting GRAS [Jacquelin:server:(1) 0.500539] test.c:18: [test/CRITICAL] Bye folks... -[Jacquelin:server:(1) 0.500539] gras/gras.c:83: [gras/INFO] Exiting GRAS -[0.500539] msg/global.c:475: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over +[Jacquelin:server:(1) 0.500539] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/10-rpc.output b/doc/gtut-files/10-rpc.output index e309f720ef..a8714cdb0a 100644 --- a/doc/gtut-files/10-rpc.output +++ b/doc/gtut-files/10-rpc.output @@ -1,58 +1,51 @@ $ ./test_server & ./test_client 127.0.0.1 -[blaise:client:(2223) 0.000005] test.c:95: [test/INFO] Ask to convert 4321 -[blaise:client:(2223) 0.001210] test.c:97: [test/INFO] The server says that 4321 is equal to "4321". -[blaise:client:(2223) 0.001227] test.c:102: [test/INFO] Ask to convert 1234 -[blaise:client:(2223) 0.001327] test.c:104: [test/INFO] The server says that "1234" is equal to 1234. -[blaise:client:(2223) 0.040861] test.c:111: [test/INFO] The server refuses to convert azerty. Here is the received exception: -[blaise:client:(2223) 0.040895] xbt/ex.c:229: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty') -** SimGrid: UNCAUGHT EXCEPTION received on blaise(2223): category: invalid_arg; value: 0 +[blaise:client:(17757) 0.000012] [test/INFO] Ask to convert 4321 +[blaise:client:(17757) 0.000679] [test/INFO] The server says that 4321 is equal to "4321". +[blaise:client:(17757) 0.000699] [test/INFO] Ask to convert 1234 +[blaise:client:(17757) 0.000817] [test/INFO] The server says that "1234" is equal to 1234. +[blaise:client:(17757) 0.008084] [test/INFO] The server refuses to convert azerty. Here is the received exception: +** SimGrid: UNCAUGHT EXCEPTION received on blaise(17757): category: invalid_arg; value: 0 ** Error while converting azerty: this does not seem to be a valid number (problem at 'azerty') ** Thrown by server() in this process +[blaise:client:(17757) 0.008113] xbt/ex.c:323: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty') -** In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:48 (static symbol) -** In gras_msg_handle() at gras/Msg/msg.c:634 (dynamic symbol) -** In server() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:72 (static symbol) -** In main() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/_test_server.c:21 (static symbol) -** In __libc_start_main() at ??:0 (dynamic symbol) -** In _start() at ../sysdeps/i386/elf/start.S:122 (static symbol) -[blaise:client:(2223) 0.040933] test.c:113: [test/INFO] Again, previous exception was excepted -[blaise:client:(2223) 0.040957] test.c:117: [test/INFO] Stopped the server -[blaise:client:(2223) 0.040972] gras/gras.c:85: [gras/INFO] Exiting GRAS -[blaise:server:(2220) 0.000005] test.c:30: [test/INFO] Convert 4321 to string -[blaise:server:(2220) 0.000045] test.c:32: [test/INFO] 4321 converted to string: 4321 -[blaise:server:(2220) 0.000197] test.c:44: [test/INFO] Convert 1234 to long -[blaise:server:(2220) 0.000294] test.c:44: [test/INFO] Convert azerty to long -[blaise:server:(2220) 0.040123] test.c:12: [test/INFO] Server done -[blaise:server:(2220) 0.040144] gras/gras.c:85: [gras/INFO] Exiting GRAS +** In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:48 +** In gras_msg_handle() at /home/mquinson/CVSIMPORT/gras/pure/src/gras/Msg/gras_msg_exchange.c:414 +** In server() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:71 +** In main() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/_test_server.c:31 +[blaise:client:(17757) 0.008128] [test/INFO] Again, previous exception was excepted +[blaise:client:(17757) 0.008147] [test/INFO] Stopped the server +[blaise:client:(17757) 0.008154] [gras/INFO] Exiting GRAS +[blaise:server:(17754) 0.000005] [test/INFO] Convert 4321 to string +[blaise:server:(17754) 0.000022] [test/INFO] 4321 converted to string: 4321 +[blaise:server:(17754) 0.000183] [test/INFO] Convert 1234 to long +[blaise:server:(17754) 0.000246] [test/INFO] Convert azerty to long +[blaise:server:(17754) 0.007738] [test/INFO] Server done +[blaise:server:(17754) 0.007750] [gras/INFO] Exiting GRAS $ $ killall test_server $ $ ./test_simulator platform.xml test.xml -[Boivin:client:(2) 0.000000] test.c:95: [test/INFO] Ask to convert 4321 -[Jacquelin:server:(1) 0.000538] test.c:30: [test/INFO] Convert 4321 to string -[Jacquelin:server:(1) 0.000538] test.c:32: [test/INFO] 4321 converted to string: 4321 -[Boivin:client:(2) 0.001077] test.c:97: [test/INFO] The server says that 4321 is equal to "4321". -[Boivin:client:(2) 0.001077] test.c:102: [test/INFO] Ask to convert 1234 -[Jacquelin:server:(1) 0.001615] test.c:44: [test/INFO] Convert 1234 to long -[Boivin:client:(2) 0.002153] test.c:104: [test/INFO] The server says that "1234" is equal to 1234. -[Jacquelin:server:(1) 0.002692] test.c:44: [test/INFO] Convert azerty to long -[Boivin:client:(2) 0.003435] test.c:111: [test/INFO] The server refuses to convert azerty. Here is the received exception: -[Boivin:client:(2) 0.003435] xbt/ex.c:229: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty') +[Boivin:client:(2) 0.000000] [test/INFO] Ask to convert 4321 +[Jacquelin:server:(1) 0.000538] [test/INFO] Convert 4321 to string +[Jacquelin:server:(1) 0.000538] [test/INFO] 4321 converted to string: 4321 +[Boivin:client:(2) 0.001077] [test/INFO] The server says that 4321 is equal to "4321". +[Boivin:client:(2) 0.001077] [test/INFO] Ask to convert 1234 +[Jacquelin:server:(1) 0.001615] [test/INFO] Convert 1234 to long +[Boivin:client:(2) 0.002153] [test/INFO] The server says that "1234" is equal to 1234. +[Jacquelin:server:(1) 0.002692] [test/INFO] Convert azerty to long +[Boivin:client:(2) 0.003358] [test/INFO] The server refuses to convert azerty. Here is the received exception: ** SimGrid: UNCAUGHT EXCEPTION received on Boivin(2): category: invalid_arg; value: 0 ** Error while converting azerty: this does not seem to be a valid number (problem at 'azerty') ** Thrown by server() in this process +[Boivin:client:(2) 0.003358] xbt/ex.c:323: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty') -** In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:48 (static symbol) -** In gras_msg_handle() at gras/Msg/msg.c:634 (dynamic symbol) -** In server() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:72 (static symbol) -** In launch_server() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/_test_simulator.c:51 (static symbol) -** In __context_exit() at xbt/context.c:116 (dynamic symbol) -** In start_thread() at ??:0 (dynamic symbol) -** In clone() at ??:0 (dynamic symbol) -[Boivin:client:(2) 0.003435] test.c:113: [test/INFO] Again, previous exception was excepted -[Boivin:client:(2) 0.003972] test.c:117: [test/INFO] Stopped the server -[Boivin:client:(2) 0.003972] gras/gras.c:85: [gras/INFO] Exiting GRAS -[Jacquelin:server:(1) 0.003972] test.c:12: [test/INFO] Server done -[Jacquelin:server:(1) 0.003972] gras/gras.c:85: [gras/INFO] Exiting GRAS -[0.003972] msg/global.c:479: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over +** In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:48 +** In gras_msg_handle() at /home/mquinson/CVSIMPORT/gras/pure/src/gras/Msg/gras_msg_exchange.c:414 +** In server() at /home/mquinson/CVSIMPORT/gras/pure/doc/gtut-files/test.c:71 +[Boivin:client:(2) 0.003358] [test/INFO] Again, previous exception was excepted +[Jacquelin:server:(1) 0.003895] [test/INFO] Server done +[Jacquelin:server:(1) 0.003895] [gras/INFO] Exiting GRAS +[Boivin:client:(2) 0.003895] [test/INFO] Stopped the server +[Boivin:client:(2) 0.003895] [gras/INFO] Exiting GRAS $ diff --git a/doc/gtut-files/11-explicitwait.output b/doc/gtut-files/11-explicitwait.output index 28758aeccc..512b9f6b41 100644 --- a/doc/gtut-files/11-explicitwait.output +++ b/doc/gtut-files/11-explicitwait.output @@ -1,87 +1,88 @@ $ ./test_server & ./test_client 127.0.0.1 12345 & ./test_client 127.0.0.1 12345 -[blaise:server:(1764) 0.000004] test.c:26: [test/INFO] grant 127.0.0.1:1024 since nobody wanted it -[blaise:server:(1764) 0.000099] test.c:23: [test/INFO] put 127.0.0.1:1025 in waiting queue -[blaise:client:(1761) 0.000005] test.c:76: [test/INFO] Granted by server -[blaise:client:(1761) 0.103627] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.103866] test.c:39: [test/INFO] grant 127.0.0.1:1025 since token released -[blaise:client:(1763) 0.000005] test.c:76: [test/INFO] Granted by server -[blaise:client:(1763) 0.103875] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.208551] test.c:23: [test/INFO] put 127.0.0.1:1024 in waiting queue -[blaise:server:(1764) 0.208586] test.c:39: [test/INFO] grant 127.0.0.1:1024 since token released -[blaise:client:(1761) 0.208528] test.c:76: [test/INFO] Granted by server -[blaise:client:(1761) 0.311813] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.312047] test.c:26: [test/INFO] grant 127.0.0.1:1025 since nobody wanted it -[blaise:client:(1763) 0.208146] test.c:76: [test/INFO] Granted by server -[blaise:client:(1763) 0.311882] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.415899] test.c:23: [test/INFO] put 127.0.0.1:1024 in waiting queue -[blaise:server:(1764) 0.415935] test.c:39: [test/INFO] grant 127.0.0.1:1024 since token released -[blaise:client:(1761) 0.415837] test.c:76: [test/INFO] Granted by server -[blaise:client:(1761) 0.519757] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.519990] test.c:26: [test/INFO] grant 127.0.0.1:1025 since nobody wanted it -[blaise:client:(1763) 0.416088] test.c:76: [test/INFO] Granted by server -[blaise:client:(1763) 0.519898] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.623919] test.c:23: [test/INFO] put 127.0.0.1:1024 in waiting queue -[blaise:server:(1764) 0.623957] test.c:39: [test/INFO] grant 127.0.0.1:1024 since token released -[blaise:client:(1761) 0.623859] test.c:76: [test/INFO] Granted by server -[blaise:client:(1761) 0.727900] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.728191] test.c:26: [test/INFO] grant 127.0.0.1:1025 since nobody wanted it -[blaise:client:(1763) 0.624339] test.c:76: [test/INFO] Granted by server -[blaise:client:(1763) 0.727929] test.c:80: [test/INFO] Release the token -[blaise:server:(1764) 0.831965] test.c:23: [test/INFO] put 127.0.0.1:1024 in waiting queue -[blaise:server:(1764) 0.832004] test.c:39: [test/INFO] grant 127.0.0.1:1024 since token released -[blaise:client:(1761) 0.831906] test.c:76: [test/INFO] Granted by server -[blaise:client:(1761) 0.935809] test.c:80: [test/INFO] Release the token -[blaise:client:(1761) 0.935857] gras/gras.c:86: [gras/INFO] Exiting GRAS -[blaise:server:(1764) 0.937221] test.c:26: [test/INFO] grant 127.0.0.1:1025 since nobody wanted it -[blaise:client:(1763) 0.833421] test.c:76: [test/INFO] Granted by server -[blaise:client:(1763) 0.935865] test.c:80: [test/INFO] Release the token -[blaise:client:(1763) 0.935930] gras/gras.c:86: [gras/INFO] Exiting GRAS -[blaise:server:(1764) 1.040199] gras/gras.c:86: [gras/INFO] Exiting GRAS +[blaise:server:(17821) 0.000012] [test/INFO] grant 127.0.0.1:1024 since nobody wanted it +[blaise:client:(17818) 0.000012] [test/INFO] Granted by server +[blaise:server:(17821) 0.001209] [test/INFO] put 127.0.0.1:1025 in waiting queue +[blaise:client:(17818) 0.100223] [test/INFO] Release the token +[blaise:server:(17821) 0.100445] [test/INFO] grant 127.0.0.1:1025 since token released +[blaise:client:(17819) 0.000010] [test/INFO] Granted by server +[blaise:server:(17821) 0.200513] [test/INFO] put 127.0.0.1:1024 in waiting queue +[blaise:client:(17819) 0.100051] [test/INFO] Release the token +[blaise:server:(17821) 0.200647] [test/INFO] grant 127.0.0.1:1024 since token released +[blaise:client:(17818) 0.200575] [test/INFO] Granted by server +[blaise:server:(17821) 0.300735] [test/INFO] put 127.0.0.1:1025 in waiting queue +[blaise:client:(17818) 0.300635] [test/INFO] Release the token +[blaise:server:(17821) 0.300826] [test/INFO] grant 127.0.0.1:1025 since token released +[blaise:client:(17819) 0.200359] [test/INFO] Granted by server +[blaise:server:(17821) 0.400961] [test/INFO] put 127.0.0.1:1024 in waiting queue +[blaise:client:(17819) 0.300474] [test/INFO] Release the token +[blaise:server:(17821) 0.401069] [test/INFO] grant 127.0.0.1:1024 since token released +[blaise:client:(17818) 0.401000] [test/INFO] Granted by server +[blaise:server:(17821) 0.501196] [test/INFO] put 127.0.0.1:1025 in waiting queue +[blaise:client:(17818) 0.501096] [test/INFO] Release the token +[blaise:server:(17821) 0.501267] [test/INFO] grant 127.0.0.1:1025 since token released +[blaise:client:(17819) 0.400766] [test/INFO] Granted by server +[blaise:server:(17821) 0.601367] [test/INFO] put 127.0.0.1:1024 in waiting queue +[blaise:client:(17819) 0.500870] [test/INFO] Release the token +[blaise:server:(17821) 0.601459] [test/INFO] grant 127.0.0.1:1024 since token released +[blaise:client:(17818) 0.601388] [test/INFO] Granted by server +[blaise:server:(17821) 0.701581] [test/INFO] put 127.0.0.1:1025 in waiting queue +[blaise:client:(17818) 0.701486] [test/INFO] Release the token +[blaise:server:(17821) 0.701682] [test/INFO] grant 127.0.0.1:1025 since token released +[blaise:client:(17819) 0.601215] [test/INFO] Granted by server +[blaise:client:(17819) 0.701407] [test/INFO] Release the token +[blaise:server:(17821) 0.802039] [test/INFO] put 127.0.0.1:1024 in waiting queue +[blaise:server:(17821) 0.802084] [test/INFO] grant 127.0.0.1:1024 since token released +[blaise:client:(17818) 0.802014] [test/INFO] Granted by server +[blaise:client:(17818) 0.902093] [test/INFO] Release the token +[blaise:client:(17818) 0.902139] [gras/INFO] Exiting GRAS +[blaise:server:(17821) 0.902661] [test/INFO] grant 127.0.0.1:1025 since nobody wanted it +[blaise:client:(17819) 0.802198] [test/INFO] Granted by server +[blaise:client:(17819) 0.902396] [test/INFO] Release the token +[blaise:client:(17819) 0.902449] [gras/INFO] Exiting GRAS +[blaise:server:(17821) 1.003093] [gras/INFO] Exiting GRAS $ -$ killall test_server $ -$ ./test_simulator platform.xml test.xml -[Jacquelin:server:(1) 0.000000] test.c:26: [test/INFO] grant Boivin:1024 since nobody wanted it -[Boivin:client:(2) 0.000537] test.c:76: [test/INFO] Granted by server -[Jacquelin:server:(1) 0.000727] test.c:23: [test/INFO] put Geoff:1024 in waiting queue -[Boivin:client:(2) 0.100537] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.101074] test.c:39: [test/INFO] grant Geoff:1024 since token released -[Geoff:client:(3) 0.101264] test.c:76: [test/INFO] Granted by server -[Geoff:client:(3) 0.201264] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.201611] test.c:23: [test/INFO] put Boivin:1024 in waiting queue -[Jacquelin:server:(1) 0.201801] test.c:39: [test/INFO] grant Boivin:1024 since token released -[Boivin:client:(2) 0.202338] test.c:76: [test/INFO] Granted by server -[Jacquelin:server:(1) 0.301991] test.c:23: [test/INFO] put Geoff:1024 in waiting queue -[Boivin:client:(2) 0.302338] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.302875] test.c:39: [test/INFO] grant Geoff:1024 since token released -[Geoff:client:(3) 0.303065] test.c:76: [test/INFO] Granted by server -[Geoff:client:(3) 0.403065] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.403412] test.c:23: [test/INFO] put Boivin:1024 in waiting queue -[Jacquelin:server:(1) 0.403602] test.c:39: [test/INFO] grant Boivin:1024 since token released -[Boivin:client:(2) 0.404139] test.c:76: [test/INFO] Granted by server -[Jacquelin:server:(1) 0.503792] test.c:23: [test/INFO] put Geoff:1024 in waiting queue -[Boivin:client:(2) 0.504139] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.504675] test.c:39: [test/INFO] grant Geoff:1024 since token released -[Geoff:client:(3) 0.504865] test.c:76: [test/INFO] Granted by server -[Geoff:client:(3) 0.604865] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.605212] test.c:23: [test/INFO] put Boivin:1024 in waiting queue -[Jacquelin:server:(1) 0.605402] test.c:39: [test/INFO] grant Boivin:1024 since token released -[Boivin:client:(2) 0.605939] test.c:76: [test/INFO] Granted by server -[Jacquelin:server:(1) 0.705592] test.c:23: [test/INFO] put Geoff:1024 in waiting queue -[Boivin:client:(2) 0.705939] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.706476] test.c:39: [test/INFO] grant Geoff:1024 since token released -[Geoff:client:(3) 0.706666] test.c:76: [test/INFO] Granted by server -[Geoff:client:(3) 0.806666] test.c:80: [test/INFO] Release the token -[Jacquelin:server:(1) 0.807013] test.c:23: [test/INFO] put Boivin:1024 in waiting queue -[Jacquelin:server:(1) 0.807203] test.c:39: [test/INFO] grant Boivin:1024 since token released -[Boivin:client:(2) 0.807740] test.c:76: [test/INFO] Granted by server -[Jacquelin:server:(1) 0.907393] test.c:23: [test/INFO] put Geoff:1024 in waiting queue -[Boivin:client:(2) 0.907740] test.c:80: [test/INFO] Release the token -[Boivin:client:(2) 0.908277] gras/gras.c:86: [gras/INFO] Exiting GRAS -[Jacquelin:server:(1) 0.908277] test.c:39: [test/INFO] grant Geoff:1024 since token released -[Geoff:client:(3) 0.908467] test.c:76: [test/INFO] Granted by server -[Geoff:client:(3) 1.008467] test.c:80: [test/INFO] Release the token -[Geoff:client:(3) 1.008657] gras/gras.c:86: [gras/INFO] Exiting GRAS -[Jacquelin:server:(1) 1.008657] gras/gras.c:86: [gras/INFO] Exiting GRAS -[1.008657] msg/global.c:426: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over +$ ./test_simulator platform-3nodes.xml test.xml +[Jacquelin:server:(1) 0.000000] [test/INFO] grant Boivin:1024 since nobody wanted it +[Boivin:client:(2) 0.000537] [test/INFO] Granted by server +[Jacquelin:server:(1) 0.000727] [test/INFO] put Geoff:1024 in waiting queue +[Boivin:client:(2) 0.100537] [test/INFO] Release the token +[Jacquelin:server:(1) 0.101074] [test/INFO] grant Geoff:1024 since token released +[Geoff:client:(3) 0.101264] [test/INFO] Granted by server +[Geoff:client:(3) 0.201264] [test/INFO] Release the token +[Jacquelin:server:(1) 0.201611] [test/INFO] put Boivin:1024 in waiting queue +[Jacquelin:server:(1) 0.201801] [test/INFO] grant Boivin:1024 since token released +[Boivin:client:(2) 0.202338] [test/INFO] Granted by server +[Jacquelin:server:(1) 0.301991] [test/INFO] put Geoff:1024 in waiting queue +[Boivin:client:(2) 0.302338] [test/INFO] Release the token +[Jacquelin:server:(1) 0.302875] [test/INFO] grant Geoff:1024 since token released +[Geoff:client:(3) 0.303065] [test/INFO] Granted by server +[Geoff:client:(3) 0.403065] [test/INFO] Release the token +[Jacquelin:server:(1) 0.403412] [test/INFO] put Boivin:1024 in waiting queue +[Jacquelin:server:(1) 0.403602] [test/INFO] grant Boivin:1024 since token released +[Boivin:client:(2) 0.404139] [test/INFO] Granted by server +[Jacquelin:server:(1) 0.503792] [test/INFO] put Geoff:1024 in waiting queue +[Boivin:client:(2) 0.504139] [test/INFO] Release the token +[Jacquelin:server:(1) 0.504675] [test/INFO] grant Geoff:1024 since token released +[Geoff:client:(3) 0.504865] [test/INFO] Granted by server +[Geoff:client:(3) 0.604865] [test/INFO] Release the token +[Jacquelin:server:(1) 0.605212] [test/INFO] put Boivin:1024 in waiting queue +[Jacquelin:server:(1) 0.605402] [test/INFO] grant Boivin:1024 since token released +[Boivin:client:(2) 0.605939] [test/INFO] Granted by server +[Jacquelin:server:(1) 0.705592] [test/INFO] put Geoff:1024 in waiting queue +[Boivin:client:(2) 0.705939] [test/INFO] Release the token +[Jacquelin:server:(1) 0.706476] [test/INFO] grant Geoff:1024 since token released +[Geoff:client:(3) 0.706666] [test/INFO] Granted by server +[Geoff:client:(3) 0.806666] [test/INFO] Release the token +[Jacquelin:server:(1) 0.807013] [test/INFO] put Boivin:1024 in waiting queue +[Jacquelin:server:(1) 0.807203] [test/INFO] grant Boivin:1024 since token released +[Boivin:client:(2) 0.807740] [test/INFO] Granted by server +[Jacquelin:server:(1) 0.907393] [test/INFO] put Geoff:1024 in waiting queue +[Boivin:client:(2) 0.907740] [test/INFO] Release the token +[Jacquelin:server:(1) 0.908277] [test/INFO] grant Geoff:1024 since token released +[Boivin:client:(2) 0.908277] [gras/INFO] Exiting GRAS +[Geoff:client:(3) 0.908467] [test/INFO] Granted by server +[Geoff:client:(3) 1.008467] [test/INFO] Release the token +[Jacquelin:server:(1) 1.008657] [gras/INFO] Exiting GRAS +[Geoff:client:(3) 1.008657] [gras/INFO] Exiting GRAS $ -- 2.20.1