Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
document the new MSG example I recently added
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 27 Jan 2017 16:41:24 +0000 (17:41 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 27 Jan 2017 16:41:24 +0000 (17:41 +0100)
examples/msg/README.doc

index 1115a22..1687897 100644 (file)
@@ -64,6 +64,12 @@ shipped in the archive:
    The @ref MSG_comm_waitany function is useful when you want to block
    until one activity of the set completes, no matter which terminates
    first.
+   
+ - <b>Yielding to other processes</b>.
+   @ref examples/msg/async-yield/async-yield.c\n
+   The @ref MSG_process_yield function interrupts the execution of the
+   current process, leaving a chance to run to the other processes
+   that are ready to run at the exact same timestamp
 
 @section msg_ex_process Acting on Processes
 
@@ -276,6 +282,7 @@ top of the example file).
 @example examples/msg/async-wait/async-wait.c
 @example examples/msg/async-waitall/async-waitall.c
 @example examples/msg/async-waitany/async-waitany.c
+@example examples/msg/async-yield/async-yield.c
 
 @example examples/msg/process-create/process-create.c
 @example examples/msg/process-suspend/process-suspend.c