- xbt_dict_foreach(workstation_set, cursor, name, workstation) {
- __MSG_host_create(name, workstation, NULL);
+ /* Initialize MSG hosts */
+ workstation = SIMIX_host_get_table();
+ for (i = 0; i < SIMIX_host_get_number(); i++) {
+ __MSG_host_create(workstation[i], NULL);