From 3f10c3bf36722b1b7595afcb16732832e1914d77 Mon Sep 17 00:00:00 2001 From: Vladislavs Sokurenko Date: Mon, 28 May 2018 08:45:32 +0000 Subject: ...G...PS. [DEV-772] wait for all child processes to exit --- include/threads.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/threads.h') diff --git a/include/threads.h b/include/threads.h index 9bc0812b499..4f0e09c7be2 100644 --- a/include/threads.h +++ b/include/threads.h @@ -86,6 +86,7 @@ zbx_thread_args_t; ZBX_THREAD_HANDLE zbx_thread_start(ZBX_THREAD_ENTRY_POINTER(handler), zbx_thread_args_t *thread_args); int zbx_thread_wait(ZBX_THREAD_HANDLE thread); +void zbx_threads_wait(ZBX_THREAD_HANDLE *threads, int threads_num); /* zbx_thread_exit(status) -- declared as define !!! */ long int zbx_get_thread_id(void); -- cgit v1.2.3