Fix teardown deadlock
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 14 May 2011 14:35:32 +0000 (10:35 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 14 May 2011 14:35:32 +0000 (10:35 -0400)
commitf40270adf3e31289ac13a482e830b4a19d8df3bf
tree5f74133205a6b5672f47d4369fb72053e4112f6e
parent8fa75f340f4cc3008c528a12185196c2ceec3bac
Fix teardown deadlock

Don't wait on the readers from the session teardown anymore, because if
the only thread that can complete reading the buffer is the same waiting
on this condition, it deadlocks.

If the session daemon needs to wait on consumers, it can always do that
in user-space through some other mechanism.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/frontend_types.h
lib/ringbuffer/ring_buffer_frontend.c
ltt-events.c
This page took 0.025366 seconds and 4 git commands to generate.