C C-rcu-relacq1-relacq.litmus

{
}

P0(int *x)
{
	WRITE_ONCE(*x, 1);
}

P1(int *x, int *y, int *csend01)
{
	r0 = READ_ONCE(*x);
	smp_store_release(csend01, 1);
	smp_wmb();
	WRITE_ONCE(*y, 1);
}

P2(int *x, int *y)
{
	r0 = READ_ONCE(*y);
	smp_rmb();
	r1 = READ_ONCE(*x);
}

exists
(1:r0=1 /\ 2:r0=1 /\ 2:r1=0)
