Mutex while updating statedump_pending is not needed
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jul 2014 21:40:53 +0000 (17:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jul 2014 21:40:53 +0000 (17:40 -0400)
commit2932a87f05ceaf44c3a0b51fa6bdecd4b13c113d
tree67067f7d73b5c75b862aece11f3e15cc5bd1d71e
parentce46717ac558a0a1de31f0740a040ee075622677
Mutex while updating statedump_pending is not needed

Take care of coverity warning ** CID 1226392:  Data race condition  (MISSING_LOCK)
/liblttng-ust/lttng-ust-comm.c: 1704 in lttng_ust_sockinfo_session_enabled()

It's not that the lock is missing, it's that we don't need to hold the
lock when doing the other modification.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c
This page took 0.024973 seconds and 4 git commands to generate.