projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ooo isched test
[urcu.git]
/
formal-model
/
ooomem-two-writes
/
mem.spin
diff --git
a/formal-model/ooomem-two-writes/mem.spin
b/formal-model/ooomem-two-writes/mem.spin
index 1eb51c9893c8dc5a38e6f791257e96a8f9d79845..9fc30cc5827d79692abfa917f5de6b8b87be0c4d 100644
(file)
--- a/
formal-model/ooomem-two-writes/mem.spin
+++ b/
formal-model/ooomem-two-writes/mem.spin
@@
-6,13
+6,16
@@
*
* alpha = 0;
* beta = 0;
*
* alpha = 0;
* beta = 0;
+ * x = 2;
+ * y = 2;
*
* Process A Process B
* alpha = 1; beta = 1;
* mb(); mb();
* x = beta; y = alpha;
*
*
* Process A Process B
* alpha = 1; beta = 1;
* mb(); mb();
* x = beta; y = alpha;
*
- * if x = 1, then y = 1 when read.
+ * if x = 0, then y != 0
+ * if y = 0, then x != 0
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
This page took
0.023234 seconds
and
4
git commands to generate.