From: Mathieu Desnoyers Date: Thu, 8 Sep 2016 02:11:53 +0000 (-0400) Subject: Fix: rcutorture: work-around signal issue on mac os x X-Git-Tag: v0.10.0~19 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=0b9c513b2513c37e3ed0a5ee047b8d40eef482ab;hp=0b9c513b2513c37e3ed0a5ee047b8d40eef482ab;p=urcu.git 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 ---