From 47b902b4a6b0fa572d59c9eeb55b31fbe5f522f3 Mon Sep 17 00:00:00 2001 From: steven-na Date: Fri, 14 Aug 2026 04:07:58 -0700 Subject: Fix error --- src/threadpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threadpool.c b/src/threadpool.c index 953d0ee..a860cf7 100644 --- a/src/threadpool.c +++ b/src/threadpool.c @@ -62,7 +62,7 @@ thread_pool_t *tp_create(smrt_arena_t *arena, u64 max_jobs, u64 num_threads) { thread_pool_t *tp = smrt_arena_push(arena, sizeof(thread_pool_t), true); ez_deque_t *q = ez_deque_create(arena, sizeof(tp_job_t), max_jobs); - ts_deque_t tsq = ts_deque_create(q); + ts_deque_t tsq = ts_deque_create(arena, q); pthread_t *threads = SMRTA_ALLOC_ARRAY(arena, pthread_t, num_threads); worker_args * args = SMRTA_ALLOC_ARRAY(arena, worker_args, num_threads); -- cgit v1.2.3