X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/676756b1101b958d0b55f43a09f3dab421dd9c1f:/doc/gtut-tour-3-args.doc..b3f448e0ccc0e5e0195bfba380b1ba3a5c5b10b6:/doc/gtut-tour-03-args.doc diff --git a/doc/gtut-tour-3-args.doc b/doc/gtut-tour-03-args.doc similarity index 93% rename from doc/gtut-tour-3-args.doc rename to doc/gtut-tour-03-args.doc index b8a69dbbe0..33042c2ead 100644 --- a/doc/gtut-tour-3-args.doc +++ b/doc/gtut-tour-03-args.doc @@ -19,7 +19,7 @@ situation. In RL, the situation is quite simple: we just have to use the command line arguments as we would do in a usual C program. In the server, only change concern the opennong of the master socket: -\dontinclude 3-args.c +\dontinclude 03-args.c \skip gras_socket_server \until gras_socket_server @@ -33,16 +33,16 @@ The rest of the program remains inchanged. At this point, the problem is to pass arguments to the processes in SG. Fortunately, it is quite simple. You just have to edit your deployment file -so that it reads: \include 3-args.xml +so that it reads: \include 03-args.xml The syntax should be self-explanatory at this point. \section GRAS_tut_tour_args_recap Recaping everything together The whole program now reads: -\include 3-args.c +\include 03-args.c And here is the output: -\include 3-args.output +\include 03-args.output Go to \ref GRAS_tut_tour_callbacks