diff --git a/include/ck_ring.h b/include/ck_ring.h index 0548597..c2d005f 100644 --- a/include/ck_ring.h +++ b/include/ck_ring.h @@ -156,6 +156,10 @@ ck_ring_enqueue_spsc_##name(object, value) #define CK_RING_DEQUEUE_SPSC(name, object, value) \ ck_ring_dequeue_spsc_##name(object, value) +#define CK_RING_DEQUEUE_SPMC(name, object, value) \ + ck_ring_dequeue_spmc_##name(object, value) +#define CK_RING_ENQUEUE_SPMC(name, object, value) \ + ck_ring_enqueue_spmc_##name(object, value) struct ck_ring { unsigned int c_head;