From 33d4fbfbbee784f734632e543a75222f38bc807d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 10 Oct 2010 20:32:41 +0200 Subject: calibrate_detecotr: Use new thread pool --- src/facetron.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/facetron.c') diff --git a/src/facetron.c b/src/facetron.c index 3dc7d486..27fc1608 100644 --- a/src/facetron.c +++ b/src/facetron.c @@ -174,8 +174,8 @@ static void refine_all(struct image *images, int n_total_patterns, } - munch_threads(n_total_patterns, nthreads, "Refining", - refine_image, tasks); + run_thread_range(n_total_patterns, nthreads, "Refining", + refine_image, tasks); free(tasks); } @@ -205,8 +205,8 @@ static void estimate_full(struct image *images, int n_total_patterns, } - munch_threads(n_total_patterns, nthreads, "Integrating", - integrate_image, tasks); + run_thread_range(n_total_patterns, nthreads, "Integrating", + integrate_image, tasks); free(tasks); -- cgit v1.2.3