mc_client->active = 1;
// Waiting for the model-checker:
- if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) == -1 || raise(SIGSTOP) != 0)
+ if (ptrace(PTRACE_TRACEME, 0, nullptr, NULL) == -1 || raise(SIGSTOP) != 0)
xbt_die("Could not wait for the model-checker");
MC_client_handle_messages();
}
while (1) {
MC_protocol_send_simple_message(mc_client->fd, MC_MESSAGE_WAITING);
MC_client_handle_messages();
- MC_wait_for_requests();
+ simgrid::mc::wait_for_requests();
}
}