From cc0fa78b8bb8809191c76a706c9e486c16089a1c Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Thu, 21 May 2015 13:04:07 -0400 Subject: [PATCH] ck_barrier_centralized: Acquire semantics sufficient. --- src/ck_barrier_centralized.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }