Fix: ust-app: protect app socket protocol with lock
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Aug 2015 02:50:09 +0000 (22:50 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 13:11:52 +0000 (09:11 -0400)
commit39f0f159036ec4015049ac859ef89f30823aeb2a
tree60f055d9409a2ca686ffbce0d9587cd6e66e28c8
parent9c9107228280bcffde8eb79cf8bb34c8208e04a4
Fix: ust-app: protect app socket protocol with lock

Many threads can access the application socket (cmd handling thread and
application handling thread) concurrently. Therefore, we need to protect
it with a mutex.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/buffer-registry.c
src/bin/lttng-sessiond/main.c
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-app.h
src/bin/lttng-sessiond/ust-consumer.c
src/bin/lttng-sessiond/ust-ctl.h
This page took 0.026159 seconds and 4 git commands to generate.