xbt_swag_t process_list;
xbt_swag_t process_to_destroy;
smx_process_t maestro_process;
xbt_dict_t registered_functions;
smx_creation_func_t create_process_function;
xbt_swag_t process_list;
xbt_swag_t process_to_destroy;
smx_process_t maestro_process;
xbt_dict_t registered_functions;
smx_creation_func_t create_process_function;
} s_smx_global_t, *smx_global_t;
extern smx_global_t simix_global;
} s_smx_global_t, *smx_global_t;
extern smx_global_t simix_global;
e_smx_comm_type_t type; /* Type of the communication (SIMIX_COMM_SEND or SIMIX_COMM_RECEIVE) */
smx_rdv_t rdv; /* Rendez-vous where the comm is queued */
int refcount; /* Number of processes involved in the cond */
e_smx_comm_type_t type; /* Type of the communication (SIMIX_COMM_SEND or SIMIX_COMM_RECEIVE) */
smx_rdv_t rdv; /* Rendez-vous where the comm is queued */
int refcount; /* Number of processes involved in the cond */
- return (*(simix_global->context_factory->create_context))
- (code, argc, argv, cleanup_func, simix_process);
+ return simix_global->context_factory->create_context(code,
+ argc, argv,
+ cleanup_func,
+ simix_process);
static XBT_INLINE smx_context_t SIMIX_context_self(void)
{
if (simix_global && simix_global->context_factory != NULL) {
static XBT_INLINE smx_context_t SIMIX_context_self(void)
{
if (simix_global && simix_global->context_factory != NULL) {