From db6aacd22f5c43cc6ea45e6c07bf962859ebac8d Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Tue, 22 Apr 2025 18:53:20 -0500 Subject: Stop threadpool from crashing --- src/threadpool.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/threadpool.h') diff --git a/src/threadpool.h b/src/threadpool.h index 48ad9eb..bc3ce06 100644 --- a/src/threadpool.h +++ b/src/threadpool.h @@ -25,6 +25,7 @@ int cqueue_cancel(cqueue * const cq); threadpool * threadpool_init(int threads); void threadpool_free(threadpool *tp); int threadpool_addtask(threadpool * const tp, task * const task); +int threadpool_join(const threadpool * const tp); typedef struct mtxp mtxpair; mtxpair * mtxpair_init(void * const data, int type); -- cgit v1.2.3