From f6885a1ab57981b543a0dfa5170c0622bfdb1c39 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 3 Jun 2011 15:40:09 -0400 Subject: [PATCH] rbtree: Setup per-cpu RCU worker threads in test Signed-off-by: Mathieu Desnoyers --- tests/test_urcu_rbtree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_urcu_rbtree.c b/tests/test_urcu_rbtree.c index 6003645..0d80f0c 100644 --- a/tests/test_urcu_rbtree.c +++ b/tests/test_urcu_rbtree.c @@ -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++) { -- 2.34.1