X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49324ddce4feba6d5664c40e0fa3817460ca5549..05898e1bb90bb5120653b524b08f296edec37a0e:/src/msg/environment.c diff --git a/src/msg/environment.c b/src/msg/environment.c index e0644ec869..981db9713a 100644 --- a/src/msg/environment.c +++ b/src/msg/environment.c @@ -60,8 +60,16 @@ src_name dst_name (link_name link_name link_name ... ) * it looks like. */ void MSG_create_environment(const char *file) { + xbt_dict_cursor_t cursor = NULL; + char *name = NULL; + void *workstation = NULL; + surf_workstation_resource_init(file); + xbt_dict_foreach(workstation_set, cursor, name, workstation) { + __MSG_host_create(name, workstation, NULL); + } + return; }