qsbr rcu: rc_register_thread also make the thread online.
[urcu.git] / urcu-qsbr.c
index 87c83d7fc154443dcee6329cb75abe2a97c33f8e..878a550b9291d21a464f5e4c1db9e58f1d741ea3 100644 (file)
@@ -251,6 +251,7 @@ static void rcu_remove_reader(pthread_t id)
 
 void rcu_register_thread(void)
 {
+       _rcu_thread_online();
        internal_urcu_lock();
        rcu_add_reader(pthread_self());
        internal_urcu_unlock();
This page took 0.022135 seconds and 4 git commands to generate.