From: Mathieu Desnoyers Date: Thu, 7 Jul 2011 15:49:09 +0000 (-0400) Subject: rculfhash test: use per-cpu call-rcu threads X-Git-Tag: v0.7.0~43^2~210 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=14756542cf5e8f90662ea8bd922d1349f44228fe;p=urcu.git rculfhash test: use per-cpu call-rcu threads Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/test_urcu_hash.c b/tests/test_urcu_hash.c index 16374d9..56bd41f 100644 --- a/tests/test_urcu_hash.c +++ b/tests/test_urcu_hash.c @@ -570,6 +570,9 @@ int main(int argc, char **argv) test_ht = ht_new(test_hash, test_compare, 0x42UL, HASH_SIZE, call_rcu); + err = create_all_cpu_call_rcu_data(0); + assert(!err); + next_aff = 0; for (i = 0; i < nr_readers; i++) {