ck_ring: Add note regarding correctness so people don't both verifying it.

Original version is susceptible to several problems, it is whack.
ck_pring
Samy Al Bahra 12 years ago
parent 8d90fa28ed
commit bb48f602ff

@ -159,6 +159,7 @@ ck_ring_capacity(struct ck_ring *ring)
return ring->size; return ring->size;
} }
/* XXX: MPMC variant is incorrect, replacement in works. */
CK_CC_INLINE static bool CK_CC_INLINE static bool
ck_ring_enqueue_mpmc(struct ck_ring *ring, void *entry) ck_ring_enqueue_mpmc(struct ck_ring *ring, void *entry)
{ {

Loading…
Cancel
Save