test cases: add multiple register/unregister tests
[urcu.git] / tests / test_urcu.c
index d7993cbe57ca6356816c6d8bd3f2f07f9a340631..1e64fc36d0cef58a2732d0316552004b9eb9ba76 100644 (file)
@@ -249,6 +249,10 @@ void *thr_reader(void *_count)
 
        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());
This page took 0.022562 seconds and 4 git commands to generate.