printf_verbose("thread_begin %s, thread id : %lx, tid %lu\n",
"reader", pthread_self(), (unsigned long) gettid());
+ URCU_TLS(rand_lookup) = urcu_get_thread_id() ^ time(NULL);
+
set_affinity();
rcu_register_thread();
printf_verbose("thread_begin %s, thread id : %lx, tid %lu\n",
"writer", pthread_self(), (unsigned long) gettid());
+ URCU_TLS(rand_lookup) = urcu_get_thread_id() ^ time(NULL);
+
set_affinity();
rcu_register_thread();