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>
Thu, 6 Dec 2018 21:34:34 +0000 (16:34 -0500)
commitdf119599f9c1994b5f4a9f6f562581bee13c0f13
tree74d78dee414a1138c2554bad9a41b69f027641f6
parentfaadaa3a56561aca9dbd8f10f91d1e0fc40ed7e2
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.028172 seconds and 4 git commands to generate.