changes to mcs-lock note
authorPeizhao Ou <peizhaoo@uci.edu>
Fri, 13 Feb 2015 21:48:51 +0000 (13:48 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Fri, 13 Feb 2015 21:48:51 +0000 (13:48 -0800)
mcs-lock/note.txt

index ef56cdca9986c9042054ee660ba6d1c3a48bc411..aeef26ebe59fb0fbfcca18fb0bb4991541a88c72 100644 (file)
@@ -12,3 +12,14 @@ the gate and the later update of gate. From the inference analysis, we actually
 got two results, where wildcard(7) and wildcard(8) only need one acquire. That's
 actually the place to synchronize the update of gate. We can achieve it at the
 Tail or at the next field.
+
+To generate those results, we actually need to pass a specific option to the
+scfence analysis, as follows.
+
+*******************************************************
+peizhaoo@dw-2:~/model-checker$ ./run.sh mcs-lock/testcase1 -m2 -b100 -y -tSCFENCE -o m
+*******************************************************
+
+The '-b100' is to terminate the execution in case of infinite loops because of
+improper synchronization at the beginning period. The 'm' option for SCFENCE
+analysis is to turn on the implyMO mode.