-/** Test function */
-static MSG_error_t test_all(const char *platform_file,
- const char *application_file)
-{
- MSG_error_t res = MSG_OK;
-
- { /* Simulation setting */
- MSG_set_channel_number(MAX_CHANNEL);
- MSG_paje_output("msg_test.trace");
- MSG_create_environment(platform_file);
- }
- { /* Application deployment */
- MSG_function_register("dream_master", dream_master);
- MSG_launch_application(application_file);
- }
- res = MSG_main();
+ SLEEP(5.0);
+ XBT_INFO("Suspend the lazy guy while he's sleeping...");
+ MSG_process_suspend(lazy);
+ XBT_INFO("Let him finish his siesta.");
+ SLEEP(10.0);
+ XBT_INFO("Wake up, lazy guy!");
+ MSG_process_resume(lazy);