Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #218 from Takishipp/MSG2S4U
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 10 Sep 2017 13:20:21 +0000 (15:20 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Sep 2017 13:20:21 +0000 (15:20 +0200)
first attempt to convert async-waitany msg version to s4u (doesn't work yet)

1  2 
examples/s4u/README.doc

diff --combined examples/s4u/README.doc
@@@ -1,9 -1,9 +1,9 @@@
  S4U (Simgrid for you) is the next interface of SimGrid, expected to be released with SimGrid 4.0.
  
 -Even if it's in a very preliminary state so far, you are welcome to
 -try it and report any interface glitches that you see. Be however
 -warned that the interface will be modified until its final release. 
 -You will have to adapt your code on the way.
 +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 its 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.
@@@ -14,6 -14,7 +14,7 @@@
   @brief Find the S4U example fitting your needs in the archive.
  
    - @ref s4u_ex_basics
+   - @ref s4u_ex_async
    - @ref s4u_ex_actors
    - @ref s4u_ex_synchro
    - @ref s4u_ex_actions
    - <b>Master Workers:</b> @ref examples/s4u/app-masterworker/s4u_app-masterworker.cpp \n
      Another good old example, where one Master process has a bunch of task to dispatch to a set of several Worker 
      processes. 
+     
+ @section msg_ex_async Asynchronous communications
+  - <b>Waiting for all communications in a set</b>.
+    @ref examples/s4u/async-waitall/s4u_async-waitall.cpp\n
+    The @ref S4U_comm_waitall function is useful when you want to block
+    until all activities in a given set have completed.
+  - <b>Waiting for the first completed communication in a set</b>.
+    @ref examples/s4u/async-waitany/s4u_async-waitany.cpp\n
+    The @ref S4U_comm_waitany function is useful when you want to block
+    until one activity of the set completes, no matter which terminates
+    first.   
  
  @section s4u_ex_actors Acting on Actors