diff --git a/include/ck_cohort.h b/include/ck_cohort.h index 9b14fb4..0226b7d 100644 --- a/include/ck_cohort.h +++ b/include/ck_cohort.h @@ -108,7 +108,7 @@ enum ck_cohort_state { cohort->acquire_count = 0; \ } \ \ - ck_pr_fence_memory(); \ + ck_pr_fence_release(); \ LU(cohort->local_lock, local_context); \ \ return; \