Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: Change the way senders and receivers are stopped: main process kills its friend...
[simgrid.git] / src / smpi / private.h
index 2db330e..ff6bcb6 100644 (file)
@@ -95,7 +95,7 @@ typedef struct smpi_global_t {
 
   smx_process_t *main_processes;
 
-  int running_hosts_count;
+  int running_hosts_count; //FIXME: killme
 
   xbt_os_timer_t timer;
   smx_mutex_t timer_mutex;
@@ -119,6 +119,8 @@ typedef struct smpi_host_data_t {
   smx_process_t sender;
   smx_process_t receiver;
 
+  int finalize; /* for main stopping sender&receiver */
+
   xbt_fifo_t pending_recv_request_queue;
 } s_smpi_host_data_t;
 typedef struct smpi_host_data_t *smpi_host_data_t;