destination = (char*)MSG_task_get_data (task);
if (!destination) break; //there is no destination, die
XBT_INFO("Migrating to %s", destination);
destination = (char*)MSG_task_get_data (task);
if (!destination) break; //there is no destination, die
XBT_INFO("Migrating to %s", destination);
// I am the master of emigrant process,
// I tell it where it must emigrate to.
// I am the master of emigrant process,
// I tell it where it must emigrate to.
xbt_dynar_push_as (destinations, char*, xbt_strdup ("Tremblay"));
xbt_dynar_push_as (destinations, char*, xbt_strdup ("Jupiter"));
xbt_dynar_push_as (destinations, char*, xbt_strdup ("Fafard"));
xbt_dynar_push_as (destinations, char*, xbt_strdup ("Tremblay"));
xbt_dynar_push_as (destinations, char*, xbt_strdup ("Jupiter"));
xbt_dynar_push_as (destinations, char*, xbt_strdup ("Fafard"));