summaryrefslogtreecommitdiffstats
path: root/spawn/spawn_client.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:42 +0000
commit112b5b91647c3dea45cc1c9bc364df526c8012f1 (patch)
tree450af925135ec664c4310a1eb28b69481094ee2a /spawn/spawn_client.c
parentReleasing debian version 1.32.1-2. (diff)
downloadnetdata-112b5b91647c3dea45cc1c9bc364df526c8012f1.tar.xz
netdata-112b5b91647c3dea45cc1c9bc364df526c8012f1.zip
Merging upstream version 1.33.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'spawn/spawn_client.c')
-rw-r--r--spawn/spawn_client.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/spawn/spawn_client.c b/spawn/spawn_client.c
index 59f1ccb05..509c67347 100644
--- a/spawn/spawn_client.c
+++ b/spawn/spawn_client.c
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#include "spawn.h"
-#include "database/engine/rrdenginelib.h"
static uv_process_t process;
static uv_pipe_t spawn_channel;
@@ -201,7 +200,7 @@ void spawn_client(void *arg)
spawn_thread_error = 0;
spawn_thread_shutdown = 0;
/* wake up initialization thread */
- complete(completion);
+ completion_mark_complete(completion);
prot_buffer_len = 0;
ret = uv_read_start((uv_stream_t *)&spawn_channel, on_read_alloc, on_pipe_read);
@@ -237,5 +236,5 @@ error_after_loop_init:
freez(loop);
/* wake up initialization thread */
- complete(completion);
+ completion_mark_complete(completion);
}