- while ((p = xbt_swag_extract(msg_global->process_list))) {
- MSG_process_kill(p);
- }
-
- xbt_fifo_foreach(msg_global->host, i, h, m_host_t) {
- __MSG_host_destroy(h);
- }
- xbt_fifo_free(msg_global->host);
- xbt_swag_free(msg_global->process_list);
-
- free(msg_global);
- msg_global = NULL;