ck_pflock: Migrate initializer to use compiler barrier.

ck_pring
Samy Al Bahra 11 years ago
parent 901310450d
commit b24a9af88a

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

Loading…
Cancel
Save