X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=formal-model%2Fooomem-two-writes%2Fmem.spin;h=9fc30cc5827d79692abfa917f5de6b8b87be0c4d;hb=8e9a615359bed782ff5bf39e4b86d003c86a6701;hp=1eb51c9893c8dc5a38e6f791257e96a8f9d79845;hpb=b245dd5c50e7b1c66073d41edc44a09dc1b6c9f2;p=urcu.git diff --git a/formal-model/ooomem-two-writes/mem.spin b/formal-model/ooomem-two-writes/mem.spin index 1eb51c9..9fc30cc 100644 --- a/formal-model/ooomem-two-writes/mem.spin +++ b/formal-model/ooomem-two-writes/mem.spin @@ -6,13 +6,16 @@ * * alpha = 0; * beta = 0; + * x = 2; + * y = 2; * * 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