void MSG_post_create_environment(void) { xbt_lib_cursor_t cursor; void **data; char *name; /* Initialize MSG hosts */ xbt_lib_foreach(host_lib, cursor, name, data) { __MSG_host_create(xbt_dict_cursor_get_elm(cursor)); }
void MSG_post_create_environment(void) { xbt_lib_cursor_t cursor; void **data; char *name; /* Initialize MSG hosts */ xbt_lib_foreach(host_lib, cursor, name, data) { if(data[SIMIX_HOST_LEVEL]) __MSG_host_create(xbt_dict_cursor_get_elm(cursor)); } /* Initialize MSG storages */ xbt_lib_foreach(storage_lib, cursor, name, data) { if(data[SIMIX_STORAGE_LEVEL]) __MSG_storage_create(xbt_dict_cursor_get_elm(cursor)); } }
static void MSG_host_create_(sg_host_t host) { __MSG_host_create(host); }