Fix: urcu-bp: only teardown call-rcu worker in destructor
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Feb 2023 17:24:09 +0000 (12:24 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Feb 2023 17:48:29 +0000 (12:48 -0500)
commitd8befef26777884ffa55bb6c1a51f90971e12579
treed9064ed6f00b163d2df3de0f7d50984ff9ef855a
parenta51018daec6f563f9e74d37747c09d4f10ed7958
Fix: urcu-bp: only teardown call-rcu worker in destructor

Do not invoke urcu_call_rcu_exit() every time a reader thread
unregisters from urcu-bp. This causes pthread join hangs observed on
Cygwin.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I4e5c6e06df9966d65f2dcf01bb3281cbfcb05a5b
src/urcu-bp.c
This page took 0.024934 seconds and 4 git commands to generate.