From bb48f602ffb008ba806c6fd01248090bb1b4b5a4 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 30 Sep 2012 20:13:48 -0400 Subject: [PATCH] ck_ring: Add note regarding correctness so people don't both verifying it. Original version is susceptible to several problems, it is whack. --- include/ck_ring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ck_ring.h b/include/ck_ring.h index a9dc373..2c0a990 100644 --- a/include/ck_ring.h +++ b/include/ck_ring.h @@ -159,6 +159,7 @@ ck_ring_capacity(struct ck_ring *ring) return ring->size; } +/* XXX: MPMC variant is incorrect, replacement in works. */ CK_CC_INLINE static bool ck_ring_enqueue_mpmc(struct ck_ring *ring, void *entry) {