X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/808e3788e31d306aa2d3f8c96122aa82346fbe0b..79f4c4c467150b3bea841b968cabd629e9d9282a:/examples/s4u/README.rst?ds=sidebyside diff --git a/examples/s4u/README.rst b/examples/s4u/README.rst index f11fc88fc1..027d3b84ef 100644 --- a/examples/s4u/README.rst +++ b/examples/s4u/README.rst @@ -31,6 +31,7 @@ to simulate. Actors: the Active Entities =========================== +.. _s4u_ex_actors: Starting and Stoping Actors --------------------------- @@ -48,6 +49,7 @@ Starting and Stoping Actors of doing so, depending of whether you want your callback to be executed when a specific actor ends (with ```this_actor::on_exit()```) or whether it should be executed when any actor ends (with + ```Actor::on_termination()```) or when it gets destroyed (with ```Actor::on_destruction()```) - |cpp| `examples/s4u/actor-exiting/s4u-actor-exiting.cpp `_ @@ -147,7 +149,7 @@ also the tesh files in the example directories for details. - **I/O replay:** Presents a set of event handlers reproducing classical I/O primitives (open, read, close). - |br| `examples/s4u/replay-storage/s4u-replay-storage.cpp `_ + |br| `examples/s4u/replay-io/s4u-replay-io.cpp `_ ========================== Activities: what Actors do @@ -239,13 +241,13 @@ I/O on Disks and Files ---------------------- SimGrid provides two levels of abstraction to interact with the -simulated storages. At the simplest level, you simply create read and -write actions on the storage resources. +simulated disks. At the simplest level, you simply create read and +write actions on the disk resources. - - **Access to raw storage devices:** + - **Access to raw disk devices:** This example illustrates how to simply read and write data on a - simulated storage resource. - |br| `examples/s4u/io-storage-raw/s4u-io-storage-raw.cpp `_ + simulated disk resource. + |br| `examples/s4u/io-disk-raw/s4u-io-disk-raw.cpp `_ The FileSystem plugin provides a more detailed view, with the classical operations over files: open, move, unlink, and of course