Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill another useless synchronization source: no one will interupt you in simulation
[simgrid.git] / src / smpi / smpi_global.c
index 7d52216..91287da 100644 (file)
@@ -153,7 +153,6 @@ void smpi_global_init()
   smpi_global->host_count = 0;
 
   // running hosts
-  smpi_global->running_hosts_count_mutex = SIMIX_mutex_init();
   smpi_global->running_hosts_count = 0;
 
   // mallocators
@@ -236,9 +235,6 @@ void smpi_global_destroy()
   xbt_free(smpi_global->sender_processes);
   xbt_free(smpi_global->receiver_processes);
 
-  // running hosts
-  SIMIX_mutex_destroy(smpi_global->running_hosts_count_mutex);
-
   // mallocators
   xbt_mallocator_free(smpi_global->request_mallocator);
   xbt_mallocator_free(smpi_global->message_mallocator);