X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3eec030bc203adc8e55fdcb169e7825642c6194..6574906fc7ef8966b3140b596df794b8e05cd504:/examples/s4u/README.doc diff --git a/examples/s4u/README.doc b/examples/s4u/README.doc index 9b302e5cf5..3d564cadff 100644 --- a/examples/s4u/README.doc +++ b/examples/s4u/README.doc @@ -1,12 +1,12 @@ -S4U (Simgrid for you) is the next interface of SimGrid, expected to be released with SimGrid 4.0. - -Even if it is not completely rock stable yet, it may well already fit -your needs. You are welcome to try it and report any interface -glitches that you see. Be however warned that the interface may change -until the final release. You will have to adapt your code on the way. - -This file follows the Doxygen syntax to be included in the -documentation, but it should remain readable directly. +// S4U (Simgrid for you) is the next interface of SimGrid, expected to be released with SimGrid 4.0. +// +// Even if it is not completely rock stable yet, it may well already fit +// your needs. You are welcome to try it and report any interface +// glitches that you see. Be however warned that the interface may change +// until the final release. You will have to adapt your code on the way. +// +// This file follows the Doxygen syntax to be included in the +// documentation, but it should remain readable directly. /** @defgroup s4u_examples S4U examples @@ -286,9 +286,14 @@ than the previous examples. Shows how to implement a classical communication pattern, where a token is exchanged along a ring to reach every participant. - - Master Workers: @ref examples/s4u/app-masterworker/s4u-app-masterworker.cpp @n + - Master Workers: @ref examples/s4u/app-masterworkers/s4u-app-masterworkers-class.cpp + @ref examples/s4u/app-masterworkers/s4u-app-masterworkers-fun.cpp @n Another good old example, where one Master process has a bunch of task to dispatch to a set of several Worker - processes. + processes. This example comes in two equivalent variants, one + where the actors are specified as simple functions (which is easier to + understand for newcomers) and one where the actors are specified + as classes (which is more powerful for the users wanting to build + their own projects upon the example). @subsection s4u_ex_app_data Data diffusion @@ -324,7 +329,8 @@ than the previous examples. @example examples/s4u/async-waitany/s4u-async-waitany.cpp @example examples/s4u/app-bittorrent/s4u-bittorrent.cpp @example examples/s4u/app-chainsend/s4u-app-chainsend.cpp -@example examples/s4u/app-masterworker/s4u-app-masterworker.cpp +@example examples/s4u/app-masterworkers/s4u-app-masterworkers-class.cpp +@example examples/s4u/app-masterworkers/s4u-app-masterworkers-fun.cpp @example examples/s4u/app-pingpong/s4u-app-pingpong.cpp @example examples/s4u/app-token-ring/s4u-app-token-ring.cpp @example examples/s4u/dht-chord/s4u-dht-chord.cpp