char **argv; /* arguments table if any */
int argc; /* arguments number if any */
MSG_error_t last_errno; /* the last value returned by a MSG_function */
+
+ msg_vm_t vm; /* virtual machine the process is in */
+
void* data; /* user data */
} s_simdata_process_t, *simdata_process_t;
double kill_time;
} s_process_arg_t, *process_arg_t;
-
typedef struct msg_comm {
smx_action_t s_comm; /* SIMIX communication object encapsulated (the same for both processes) */
m_task_t task_sent; /* task sent (NULL for the receiver) */
int coreAmount;
} s_msg_vm_t;
-typedef struct s_msg_process_data {
- void *data;
- msg_vm_t current_vm;
-} s_msg_process_data_t, *msg_process_data_t;
-
/************************** Global variables ********************************/
typedef struct MSG_Global {
xbt_fifo_t host;
xbt_main_func_t code, void *data,
const char *hostname, double kill_time, int argc,
char **argv, xbt_dict_t properties);
-void MSG_process_kill_from_SIMIX(smx_process_t p);
void MSG_comm_copy_data_from_SIMIX(smx_action_t comm, void* buff, size_t buff_size);
void _MSG_action_init(void);