LB+poonceonces.litmus 198 B

123456789101112131415161718192021
  1. C LB+poonceonces
  2. {}
  3. P0(int *x, int *y)
  4. {
  5. int r0;
  6. r0 = READ_ONCE(*x);
  7. WRITE_ONCE(*y, 1);
  8. }
  9. P1(int *x, int *y)
  10. {
  11. int r0;
  12. r0 = READ_ONCE(*y);
  13. WRITE_ONCE(*x, 1);
  14. }
  15. exists (0:r0=1 /\ 1:r0=1)