X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1bd1bbd35034c2e93a030a676dc244ad2cf74c70..0f55b05623edc8e86b27ce69b080fa5e5f6388de:/examples/s4u/README.doc?ds=sidebyside diff --git a/examples/s4u/README.doc b/examples/s4u/README.doc index 78254fbd73..11d4e65190 100644 --- a/examples/s4u/README.doc +++ b/examples/s4u/README.doc @@ -101,6 +101,12 @@ documentation, but it should remain readable directly. @ref examples/s4u/actor-migration/s4u-actor-migration.cpp \n Actors can move or be moved from a host to another with the @ref migrate method. + - Yielding to other actor. + @ref examples/s4u/actor-yield/s4u-actor-yield.c\n + 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 - Mutex: @ref examples/s4u/mutex/s4u-mutex.cpp \n @@ -134,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. + */ /** @@ -151,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