diff --git a/include/ck_bytelock.h b/include/ck_bytelock.h index 46ea609..f73adb2 100644 --- a/include/ck_bytelock.h +++ b/include/ck_bytelock.h @@ -143,6 +143,7 @@ ck_bytelock_read_lock(struct ck_bytelock *bytelock, unsigned int slot) ck_pr_stall(); } + ck_pr_fence_load(); return; } @@ -164,6 +165,7 @@ ck_bytelock_read_lock(struct ck_bytelock *bytelock, unsigned int slot) ck_pr_stall(); } + ck_pr_fence_load(); return; }