X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_lfq.c;h=cd72fac5cae2079992f7e8d3bab5d899ef841f4a;hb=b7ef17d170fe415c082fb22af19f49188554f05c;hp=15023f6fcb0011f1e8db81dcf925a06fed32dc96;hpb=f48d08555a6ba4f690e80d40b1a2f178a3a1a27e;p=urcu.git diff --git a/tests/test_urcu_lfq.c b/tests/test_urcu_lfq.c index 15023f6..cd72fac 100644 --- a/tests/test_urcu_lfq.c +++ b/tests/test_urcu_lfq.c @@ -63,7 +63,6 @@ static inline pid_t gettid(void) #endif #include #include -#include static volatile int test_go, test_stop; @@ -226,11 +225,6 @@ void *thr_dequeuer(void *_count) set_affinity(); - ret = rcu_defer_register_thread(); - if (ret) { - printf("Error in rcu_defer_register_thread\n"); - exit(-1); - } rcu_register_thread(); while (!test_go) @@ -258,8 +252,6 @@ void *thr_dequeuer(void *_count) } rcu_unregister_thread(); - rcu_defer_unregister_thread(); - printf_verbose("dequeuer thread_end, thread id : %lx, tid %lu, " "dequeues %llu, successful_dequeues %llu\n", pthread_self(), (unsigned long)gettid(), nr_dequeues,