Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't initialize the contextes manually, it will be done by xbt_init on need
[simgrid.git] / src / simix / smx_global.c
index 7335b59..2b72da8 100644 (file)
@@ -46,7 +46,6 @@ void SIMIX_global_init(int *argc, char **argv)
 
                simix_global = xbt_new0(s_SIMIX_Global_t,1);
 
-               xbt_context_init();
                simix_global->host = xbt_fifo_new();
                simix_global->process_to_run = xbt_swag_new(xbt_swag_offset(proc,synchro_hookup));
                simix_global->process_list = xbt_swag_new(xbt_swag_offset(proc,process_hookup));
@@ -197,7 +196,6 @@ void SIMIX_clean(void)
   while((p=xbt_swag_extract(simix_global->process_list))) {
     SIMIX_process_kill(p);
   }
-  xbt_context_exit();
 
   xbt_fifo_foreach(simix_global->host,i,h,smx_host_t) {
     __SIMIX_host_destroy(h);