diff --git a/src/ck_barrier_centralized.c b/src/ck_barrier_centralized.c index cdc2a4c..ca8cc18 100644 --- a/src/ck_barrier_centralized.c +++ b/src/ck_barrier_centralized.c @@ -54,6 +54,6 @@ ck_barrier_centralized(struct ck_barrier_centralized *barrier, while (sense != ck_pr_load_uint(&barrier->sense)) ck_pr_stall(); - ck_pr_fence_memory(); + ck_pr_fence_acquire(); return; }