Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : add comments for the example bugged2_liveness
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Mon, 9 Jan 2012 20:59:31 +0000 (21:59 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Mon, 9 Jan 2012 20:59:31 +0000 (21:59 +0100)
examples/msg/mc/bugged2_liveness.c

index 3f544cc..4ab7ab2 100644 (file)
@@ -1,3 +1,12 @@
+/***************** Producer/Consumer Algorithm *************************/
+/* This example implements a producer/consumer algorithm.              */
+/* If consumer work before producer, message is empty                  */
+/* LTL property checked : GF((pready U produce) -> (cready U consume)) */
+/* (pready = producer got CS, produce=message pushed in the buffer)    */
+/* (cready = consumer got CS, consume=message display by consumer)     */
+/***********************************************************************/
+
+
 #include "msg/msg.h"
 #include "mc/mc.h"
 #include "xbt/automaton.h"