Fix: consumerd channel destroy race
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 May 2013 20:50:55 +0000 (16:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 May 2013 20:50:55 +0000 (16:50 -0400)
commita0cbdd2ea782afd7c263ff748dcca597095b61a0
tree3f143c850e17c489a119efead1f4454e9d94efdf
parenta500c2570f64a51f0f22d7eb2c0555dd58786521
Fix: consumerd channel destroy race

The LTTNG_CONSUMER_DESTROY_CHANNEL command is used to handle errors. It
should not call destroy_channel(), because at that point the channel
management thread has ownership of the channel. Send a notification to
the channel management thread asking it to destroy the channel instead.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/consumer.c
src/common/consumer.h
src/common/ust-consumer/ust-consumer.c
This page took 0.027349 seconds and 5 git commands to generate.