summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
332c334)
For a matter of symmetry with the unregister, make thread online only after it
has been added as reader.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
void rcu_register_thread(void)
{
void rcu_register_thread(void)
{
internal_urcu_lock();
rcu_add_reader(pthread_self());
internal_urcu_unlock();
internal_urcu_lock();
rcu_add_reader(pthread_self());
internal_urcu_unlock();
}
void rcu_unregister_thread(void)
}
void rcu_unregister_thread(void)