Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rcu_unregister_thread();
+ /* test extra thread registration */
+ rcu_register_thread();
+ rcu_unregister_thread();
+
*count = nr_reads;
printf_verbose("thread_end %s, thread id : %lx, tid %lu\n",
"reader", pthread_self(), (unsigned long)gettid());
rcu_unregister_thread();
+ /* test extra thread registration */
+ rcu_register_thread();
+ rcu_unregister_thread();
+
*count = nr_reads;
printf_verbose("thread_end %s, thread id : %lx, tid %lu\n",
"reader", pthread_self(), (unsigned long)gettid());