Fix: ensure the ht clean pipe is empty before processing quit pipe
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Dec 2018 20:38:14 +0000 (15:38 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 10 Dec 2018 20:24:50 +0000 (15:24 -0500)
commitf0cca1dcef7ff0de43b9d04275aa4c2bcaa12be5
tree5041b79475b86a4fe44eb62c4af64bf55d5e1b37
parent44975bc95b2fdded632a15e59440e74a4fb42ff1
Fix: ensure the ht clean pipe is empty before processing quit pipe

The ht-cleanup thread does not ensure that all data pending on its
ht_clean_pipe has been read (and processed) before processing the
"quit" event on the quit_pipe.

This causes a number of urcu hash tables to be leaked on exit of
the sessiond even though they have been pushed on the cleanup
pipe.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ht-cleanup.c
This page took 0.025362 seconds and 4 git commands to generate.