From: Arnaud Giersch Date: Sun, 26 Feb 2012 07:26:31 +0000 (+0100) Subject: test X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/refs/heads/surf-parallel test --- diff --git a/src/simix/smx_context_raw.c b/src/simix/smx_context_raw.c index 44a1278a47..0d6c0348fe 100644 --- a/src/simix/smx_context_raw.c +++ b/src/simix/smx_context_raw.c @@ -580,7 +580,8 @@ static void smx_ctx_raw_runall_parallel(void) raw_threads_working = 0; xbt_parmap_apply(raw_parmap, (void_f_pvoid_t) smx_ctx_raw_resume_parallel, simix_global->process_to_run, - 1 + SIMIX_context_get_parallel_threshold() / SIMIX_context_get_nthreads(), 1); + SIMIX_context_get_parallel_threshold(), 1); +// 1 + SIMIX_context_get_parallel_threshold() / SIMIX_context_get_nthreads(), 1); #else xbt_die("You asked for a parallel execution, but you don't have any threads."); #endif