Make use of affinity delta in barrier test.

ck_pring
Samy Al Bahra 14 years ago
parent b5680c42d8
commit 949c6859a3

@ -62,6 +62,8 @@ thread(void *null CK_CC_UNUSED)
int i = 0; int i = 0;
int counter; int counter;
aff_iterate(&a);
ck_pr_inc_int(&barrier_wait); ck_pr_inc_int(&barrier_wait);
while (ck_pr_load_int(&barrier_wait) != nthr) while (ck_pr_load_int(&barrier_wait) != nthr)
ck_pr_stall(); ck_pr_stall();

Loading…
Cancel
Save