]> git.lttng.org Git - userspace-rcu.git/commit
Fix: rcutorture: work-around signal issue on mac os x
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Sep 2016 02:11:53 +0000 (22:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Sep 2016 02:15:22 +0000 (22:15 -0400)
commit8bf9d59bbd7b9b98a8223b06c800d295b8507bdf
treed3dbcfabdb490ff421cece6a02fd70dd806d5e40
parent5e92ab6295afc1c46500867c8911975b180561a1
Fix: rcutorture: work-around signal issue on mac os x

Our MacOS X test machine with the following config:

15.6.0 Darwin Kernel Version 15.6.0
root:xnu-3248.60.10~1/RELEASE_X86_64

appears to have issues with liburcu-signal signal being delivered on top
of pthread_cond_wait. It seems to make the thread continue, and
therefore corrupt the rcu_head. Work around this issue by unregistering
the RCU read-side thread immediately after call_rcu (call_rcu needs us
to be registered RCU readers).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/regression/rcutorture.h
This page took 0.029133 seconds and 4 git commands to generate.