ck_pflock: Use store barrier on init.

ck_pring
Samy Al Bahra 11 years ago
parent 0353cdcb23
commit 0c4ed1d14f

@ -62,7 +62,8 @@ ck_pflock_init(struct ck_pflock *pf)
pf->rout = 0;
pf->win = 0;
pf->wout = 0;
ck_pr_fence_memory();
ck_pr_fence_store();
return;
}

Loading…
Cancel
Save