diff --git a/include/ck_pflock.h b/include/ck_pflock.h index 83663b4..42f673d 100644 --- a/include/ck_pflock.h +++ b/include/ck_pflock.h @@ -110,7 +110,7 @@ CK_CC_INLINE static void ck_pflock_read_unlock(ck_pflock_t *pf) { - ck_pr_fence_load(); + ck_pr_fence_load_atomic(); ck_pr_faa_32(&pf->rout, CK_PFLOCK_RINC); return; }