Re: [lttng-dev] QSBR urcu question

2021-04-06 Thread Mathieu Desnoyers via lttng-dev
- On Apr 5, 2021, at 1:43 PM, lttng-dev lttng-dev@lists.lttng.org wrote: > Hello all, > > I am using the QSBR flavor of URCU and I have a question: is it ok to call > rcu_register_thread more than once per thread? Yes, but you should unregister before registering again. > Similarly, is it

[lttng-dev] QSBR urcu question

2021-04-05 Thread lbj via lttng-dev
Hello all, I am using the QSBR flavor of URCU and I have a question: is it ok to call rcu_register_thread more than once per thread? Similarly, is it ok to call rcu_unregister_thread more than once per thread? I am using a library that uses a threadpool I have no control over. A thread from