relayd: track the health quit pipe with the fd-tracker
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 22:10:02 +0000 (17:10 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 06:55:34 +0000 (01:55 -0500)
commitbcee2b96c2ddf927ddcbbc6584cda7d3c17bbb95
treec4fa400f5b4377ac462ebdc4f37cba81b38e4fea
parent726b23964ab6fc7d77a3ced3c416ebffbcc2d3ac
relayd: track the health quit pipe with the fd-tracker

Create the relayd health thread quit pipe through the
fd_tracker_util_pipe_open_cloexec() function which wraps
utils_create_pipe_cloexec(), but tracks the resulting file descriptor.

The close of the pipe is also performed through the fd tracker.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ib82eabc0f152a706ac76a5042af2e3984d7e7f72
src/bin/lttng-relayd/main.c
This page took 0.025633 seconds and 4 git commands to generate.