Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change default default value for contexts/parallel_threshold.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 4 May 2011 07:37:51 +0000 (09:37 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 5 May 2011 16:56:45 +0000 (18:56 +0200)
There is no need to run a single process in parallel.

src/simix/smx_context.c

index ba9bb88..ca29ef5 100644 (file)
@@ -29,7 +29,7 @@ static xbt_os_thread_key_t smx_current_context_key = 0;
 #endif
 
 static int smx_parallel_contexts = 1;
-static int smx_parallel_threshold = 1;
+static int smx_parallel_threshold = 2;
 
 /** 
  * This function is called by SIMIX_global_init() to initialize the context module.