From: Mathieu Desnoyers Date: Thu, 29 Sep 2011 17:28:04 +0000 (-0400) Subject: urcu_defer: Use cancellation flag instead of pthread_cancel() X-Git-Tag: v0.6.5~7 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=d7ff6cee89d7f8b4183b783d3d0a337b27d10bd2;hp=d7ff6cee89d7f8b4183b783d3d0a337b27d10bd2;p=urcu.git urcu_defer: Use cancellation flag instead of pthread_cancel() - Provides better control over cancellation point location. - Set the futex to 0 before exiting the defer thread. This patch combines and enhances patches from Lai Jiangshan: urcu,defer_rcu: fix missing respond to a cancellation request urcu,defer_rcu: Avoid thread exit unexpected Reported-by: Lai Jiangshan Signed-off-by: Mathieu Desnoyers ---