// FIXME: request queues should be moved to host data...
xbt_fifo_t *pending_send_request_queues;
- xbt_fifo_t *pending_recv_request_queues;
xbt_fifo_t *received_message_queues;
- smx_process_t *sender_processes;
- smx_process_t *receiver_processes;
+ 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;
int index;
smx_mutex_t mutex;
smx_cond_t cond;
+
smx_process_t main;
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;