|
|
@ -295,7 +295,7 @@ ck_ring_dequeue_spmc(struct ck_ring *ring, void *data)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
ck_pr_fence_load();
|
|
|
|
ck_pr_fence_load();
|
|
|
|
r = ck_pr_load_ptr(&ring->ring[consumer & ring->mask]);
|
|
|
|
r = ring->ring[consumer & ring->mask];
|
|
|
|
|
|
|
|
|
|
|
|
/* Serialize load with respect to head update. */
|
|
|
|
/* Serialize load with respect to head update. */
|
|
|
|
ck_pr_fence_memory();
|
|
|
|
ck_pr_fence_memory();
|
|
|
|