From: Mathieu Desnoyers Date: Sun, 20 Sep 2009 02:23:11 +0000 (-0400) Subject: Deferral test update X-Git-Tag: v0.1~63 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=48f9433c41294bad0a9cb31515c35260703d691a;p=userspace-rcu.git Deferral test update Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/test_urcu_defer.c b/tests/test_urcu_defer.c index 233b384..0961b8d 100644 --- a/tests/test_urcu_defer.c +++ b/tests/test_urcu_defer.c @@ -239,15 +239,13 @@ void *thr_writer(void *data) new->a = 8; old = rcu_xchg_pointer(&test_rcu_pointer, new); call_rcu(free, old); -#if 0 call_rcu(test_cb1, old); call_rcu(test_cb1, (void *)-2L); call_rcu(test_cb1, (void *)-2L); call_rcu(test_cb1, old); call_rcu(test_cb2, (void *)-2L); -#endif //0 call_rcu(test_cb2, (void *)-4L); - //call_rcu(test_cb2, (void *)-2L); + call_rcu(test_cb2, (void *)-2L); nr_writes++; if (unlikely(!test_duration_write())) break;