urcu_defer: Use cancellation flag instead of pthread_cancel()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Sep 2011 17:28:04 +0000 (13:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Sep 2011 17:28:04 +0000 (13:28 -0400)
commitd7ff6cee89d7f8b4183b783d3d0a337b27d10bd2
tree7a52ede9011423511737e9174d149f0d0ba6f0b2
parentb75dffe654debbf8fd5a62d94cfeea15df6223e7
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 <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-defer-impl.h
This page took 0.028372 seconds and 4 git commands to generate.