From 2e908a7be31558cc98a9f0e97556e49ee5748c16 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 28 Sep 2026 16:15:39 -0400 Subject: inline some queue fns --- test/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/queue.c') diff --git a/test/queue.c b/test/queue.c index b011725..0f63322 100644 --- a/test/queue.c +++ b/test/queue.c @@ -84,7 +84,7 @@ static void *ring_queue_thread_fn(void *arg) { KPL_TEST(ring_queue_threads) { for (int32_t skip_round = 0; skip_round < RING_QUEUE_THREAD_COUNT; skip_round++) ring_queue_test_slots[skip_round * RING_QUEUE_SLOTS_PER_THREAD] = true; - kpl_ring_queue_init(&ring_queue, 12); + KPL_ASSERT(kpl_ring_queue_init(&ring_queue, 12), "Ring queue should init"); for (int32_t id = 0; id < RING_QUEUE_THREAD_COUNT; id++) pthread_create(&ring_queue_threads[id], NULL, ring_queue_thread_fn, (void*) (intptr_t) id); for (int32_t id = 0; id < RING_QUEUE_THREAD_COUNT; id++) -- cgit v1.2.3