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>
Thu, 24 Sep 2015 02:21:45 +0000 (22:21 -0400)
commitc9d4793f21832e5cc3aaf894779cc2e73f9c7dee
treefd677131d3549f1f3041deb0bf184b91583ddb34
parent45f862caefe6a5401f7d5989c38ccd51abdcf488
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>
 Conflicts:
src/bin/lttng-sessiond/ust-app.c
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.025707 seconds and 4 git commands to generate.