XBT_DEBUG("Insert host %s to watched_hosts because it's off and %s needs to restart", actor_->host_->get_cname(),
actor_->get_cname());
watched_hosts.insert(actor_->host_->get_cname());
}
XBT_DEBUG("Insert host %s to watched_hosts because it's off and %s needs to restart", actor_->host_->get_cname(),
actor_->get_cname());
watched_hosts.insert(actor_->host_->get_cname());
}
// Execute the termination callbacks
smx_process_exit_status_t exit_status = (actor_->context_->iwannadie) ? SMX_EXIT_FAILURE : SMX_EXIT_SUCCESS;
while (not actor_->on_exit.empty()) {
// Execute the termination callbacks
smx_process_exit_status_t exit_status = (actor_->context_->iwannadie) ? SMX_EXIT_FAILURE : SMX_EXIT_SUCCESS;
while (not actor_->on_exit.empty()) {