- XBT_INFO
- ("No function in the API to move the emigrant back, so do nothing.");
- return 0;
-} /* end_of_policeman */
+ xbt_mutex_acquire(mutex);
+ XBT_INFO("Wait a bit before migrating the emigrant.");
+ while (process_to_migrate == NULL) xbt_cond_wait(cond, mutex);
+ MSG_process_migrate(process_to_migrate, MSG_host_by_name("Jacquelin"));
+ XBT_INFO("I moved the emigrant");
+ MSG_process_resume(process_to_migrate);
+ xbt_mutex_release(mutex);