ck_ring: Memory fence is overly pedantic for parameterized enqueue.

ck_pring
Samy Al Bahra 12 years ago
parent 753f95fb45
commit b1b19c1f74

@ -89,7 +89,7 @@
return (false); \ return (false); \
\ \
ring->ring[producer] = *entry; \ ring->ring[producer] = *entry; \
ck_pr_fence_memory(); \ ck_pr_fence_store(); \
ck_pr_store_uint(&ring->p_tail, (producer + 1) & ring->mask); \ ck_pr_store_uint(&ring->p_tail, (producer + 1) & ring->mask); \
\ \
return (true); \ return (true); \

Loading…
Cancel
Save