Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : add comments for the example bugged2_liveness
[simgrid.git] / 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"