MSG_global_init(argc, argv);
}
+
+XBT_LOG_EXTERNAL_CATEGORY(msg_gos);
+XBT_LOG_EXTERNAL_CATEGORY(msg_kernel);
+XBT_LOG_EXTERNAL_CATEGORY(msg_mailbox);
+XBT_LOG_EXTERNAL_CATEGORY(msg_process);
+
/** \ingroup msg_simulation
* \brief Initialize some MSG internal data.
*/
/* Clean IO before the run */
fflush(stdout);
fflush(stderr);
+ SIMIX_init();
//surf_solve(); /* Takes traces into account. Returns 0.0 */
/* xbt_fifo_size(msg_global->process_to_run) */
while ((cond = xbt_fifo_pop(smx_action->cond_list))) {
SIMIX_cond_broadcast(cond);
}
- /* action finished, destroy it */
- // SIMIX_action_destroy(smx_action);
}
while ((smx_action = xbt_fifo_pop(actions_done))) {
while ((cond = xbt_fifo_pop(smx_action->cond_list))) {
SIMIX_cond_broadcast(cond);
}
- /* action finished, destroy it */
- //SIMIX_action_destroy(smx_action);
}
}
xbt_fifo_free(actions_failed);