summaryrefslogtreecommitdiffstats
path: root/libdimension/bench
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/bench')
-rw-r--r--libdimension/bench/future.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdimension/bench/future.c b/libdimension/bench/future.c
index 5937c3c..0e3acc6 100644
--- a/libdimension/bench/future.c
+++ b/libdimension/bench/future.c
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2013 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2013-2014 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Benchmark Suite. *
* *
@@ -58,7 +58,8 @@ dmnsn_bench_thread(void *ptr)
dmnsn_unlock_mutex(&future->mutex);
/* Now run a bunch of increments concurrently. */
- return dmnsn_execute_concurrently(&dmnsn_bench_future, future, nthreads);
+ return dmnsn_execute_concurrently(future, &dmnsn_bench_future, future,
+ nthreads);
}
int