ck_brlock: Use store barrier on initialization.

ck_pring
Samy Al Bahra 11 years ago
parent ac8397d8b5
commit 38c40315a2

@ -67,7 +67,7 @@ ck_brlock_init(struct ck_brlock *br)
br->readers = NULL; br->readers = NULL;
br->writer = false; br->writer = false;
ck_pr_fence_memory(); ck_pr_fence_store();
return; return;
} }

Loading…
Cancel
Save