summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pool.c b/thread_pool.c
index 0e04439..57534aa 100644
--- a/thread_pool.c
+++ b/thread_pool.c
@@ -86,7 +86,7 @@ static int ThreadProc(void* arg) {
return 0;
}
-int ThreadPool_Create(struct ThreadPool* thread_pool, size_t threads_count) {
+bool ThreadPoolCreate(struct ThreadPool* thread_pool, size_t threads_count) {
atomic_init(&thread_pool->running, 1);
thread_pool->threads = malloc(threads_count * sizeof(thrd_t));
if (!thread_pool->threads) return false;