diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-05-28 11:45:32 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-05-28 11:45:32 +0300 |
commit | 3f10c3bf36722b1b7595afcb16732832e1914d77 (patch) | |
tree | 710eb0721074c8d576d07f99ec4eaf0d84ab38b1 /include/threads.h | |
parent | d1a7538d1f319843ddcf4f8057b3ddb1dd0d45e3 (diff) |
...G...PS. [DEV-772] wait for all child processes to exit
Diffstat (limited to 'include/threads.h')
-rw-r--r-- | include/threads.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |