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:04:24 +0000 (10:04 -0700)
commit815ef2ca335b546eef225c86aa04a2c5899e4367
tree3f2709307c48676124346200f616657fc0546869
parentd09aa6cd1efdb8733343781be86b11d73e5bc1ae
Fix: application exit race with pthread cancel

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>
liblttng-ust/lttng-ust-comm.c
This page took 0.025118 seconds and 4 git commands to generate.