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:44 +0000 (12:48 -0500)
commit0c8eff157de6f7ab836ec87a340a517d49fdaca3
treec442aa6cc9408a91dec243e297cf975120f3ba2f
parent129e1dd6dbd0c9bf3785a7704356cd61522b6043
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.02511 seconds and 4 git commands to generate.