sessiond: ust_app: use RAII to manage ust_app_session locking
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2024 21:52:18 +0000 (21:52 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Jul 2024 16:48:58 +0000 (12:48 -0400)
commit84213d6c64e93e147c344855162e0e23d64da772
tree8ded0de56ef160bae157d8549c227a8066ec3e5f
parent00d7d90311aa7e4b6afe1b5e6c95362f9f5eb3f3
sessiond: ust_app: use RAII to manage ust_app_session locking

Like ltt_session, use the non_copyable_reference util to implement weak locked
reference helpers that are used instead of directly manipulating the
ust_app_session's pthread mutex.

Change-Id: I2c362f2b5944b3d8e089beabc07987b797bb5d36
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.cpp
src/bin/lttng-sessiond/ust-app.hpp
This page took 0.042292 seconds and 4 git commands to generate.