add missing ooo_mem() to writer model
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 19 Mar 2009 19:13:12 +0000 (15:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 19 Mar 2009 19:13:12 +0000 (15:13 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
formal-model/urcu/urcu.spin

index 570da40231773d139e2c80166b584b0585136da3..f4d3ea78ade593788bf9d97710e7c8bda5ace2ff 100644 (file)
@@ -212,6 +212,7 @@ inline wait_for_reader(tmp, id, i)
        :: 1 ->
                ooo_mem(i);
                tmp = READ_CACHED_VAR(urcu_active_readers_one);
+               ooo_mem(i);
                if
                :: (tmp & RCU_GP_CTR_NEST_MASK)
                        && ((tmp ^ READ_CACHED_VAR(urcu_gp_ctr))
This page took 0.025559 seconds and 4 git commands to generate.