rbtree: Setup per-cpu RCU worker threads in test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 3 Jun 2011 19:40:09 +0000 (15:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 3 Jun 2011 19:40:09 +0000 (15:40 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_urcu_rbtree.c

index 6003645e5e815d600a6f2721bd1a179dc04678ee..0d80f0cf460ac2fce2067509a503c13a16e1bc6b 100644 (file)
@@ -529,6 +529,9 @@ int main(int argc, char **argv)
 
        srand(time(NULL));
 
+       err = create_all_cpu_call_rcu_data(0);
+       assert(!err);
+
        next_aff = 0;
 
        for (i = 0; i < nr_readers; i++) {
This page took 0.025121 seconds and 4 git commands to generate.