diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-09-28 16:15:39 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-09-28 16:15:39 -0400 |
| commit | 2e908a7be31558cc98a9f0e97556e49ee5748c16 (patch) | |
| tree | 3c8d8a7123d46b5e2b8f6a5c9943faf4c64c2efd /test/queue.c | |
| parent | 9a82127c476bf99556bbc69e181025afcba19d26 (diff) | |
inline some queue fns
Diffstat (limited to 'test/queue.c')
| -rw-r--r-- | test/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) |
