From 949c6859a3cb7bc1d52d0df5385226f41a9de858 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 27 Feb 2011 15:14:08 -0500 Subject: [PATCH] Make use of affinity delta in barrier test. --- regressions/ck_barrier/validate/validate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regressions/ck_barrier/validate/validate.c b/regressions/ck_barrier/validate/validate.c index 7be89aa..30ffead 100644 --- a/regressions/ck_barrier/validate/validate.c +++ b/regressions/ck_barrier/validate/validate.c @@ -62,6 +62,8 @@ thread(void *null CK_CC_UNUSED) int i = 0; int counter; + aff_iterate(&a); + ck_pr_inc_int(&barrier_wait); while (ck_pr_load_int(&barrier_wait) != nthr) ck_pr_stall();