Fix: application exit race with pthread cancel
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Aug 2015 16:50:34 +0000 (09:50 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Aug 2015 17:05:37 +0000 (10:05 -0700)
Listener threads can be cancelled with ust lock held, which can hang the
following ust cleanup routine, because tracepoint probe unregister needs
to take the ust lock.

Fix this by disabling pthread cancellation for the entire duration of
the ust lock.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024835 seconds and 4 git commands to generate.