X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/77bbf3027c4240a2e833209a3a3f186589da8577..0f55b05623edc8e86b27ce69b080fa5e5f6388de:/examples/s4u/README.doc diff --git a/examples/s4u/README.doc b/examples/s4u/README.doc index f626d7ec70..11d4e65190 100644 --- a/examples/s4u/README.doc +++ b/examples/s4u/README.doc @@ -103,9 +103,9 @@ documentation, but it should remain readable directly. - Yielding to other actor. @ref examples/s4u/actor-yield/s4u-actor-yield.c\n - The @ref yield function interrupts the execution of the - current actor, leaving a chance to run to the other actor - that are ready to run at the exact same timestamp + The simgrid::s4u::this_actor::yield() function interrupts the + execution of the current actor, leaving a chance to the other actors + that are ready to run at this timestamp. @section s4u_ex_synchro Inter-Actor Synchronization @@ -140,6 +140,21 @@ also the tesh files in the example directories for details. Presents a set of event handlers reproducing classical I/O primitives (open, read, close). +@subsection s4u_ex_io Simulating disks and files + +The examples of this section demonstrate how to interact with the +simulated storages. + + - Access to raw storage devices . + @ref examples/s4u/io-raw-storage/s4u-io-raw-storage.cpp \n + This example illustrates how to simply read and write data on a + simulated storage resource. + + - Remote I/O. + @ref examples/s4u/io-file-remote/s4u-io-file-remote.cpp \n + I/O operations on files can also be done in a remote fashion, + i.e. when the accessed disk is not mounted on the caller's host. + */ /** @@ -157,7 +172,8 @@ also the tesh files in the example directories for details. @example examples/s4u/app-token-ring/s4u-app-token-ring.cpp @example examples/s4u/app-masterworker/s4u-app-masterworker.cpp @example examples/s4u/app-pingpong/s4u-app-pingpong.cpp - +@example examples/s4u/io-file-remote/s4u-io-file-remote.cpp +@example examples/s4u/io-raw-storage/s4u-io-raw-storage.cpp @example examples/s4u/mutex/s4u-mutex.cpp */ \ No newline at end of file