/** State of the model-checker (global variables for the model checker)
*/
class ModelChecker {
- pid_t pid_;
- int socket_;
struct pollfd fds_[2];
/** String pool for host names */
// TODO, use std::unordered_set with heterogeneous comparison lookup (C++14)
public:
ModelChecker(ModelChecker const&) = delete;
ModelChecker& operator=(ModelChecker const&) = delete;
- ModelChecker(pid_t pid, int socket);
+ ModelChecker(std::unique_ptr<Process> process);
~ModelChecker();
Process& process()
}
void start();
- void init_process();
void shutdown();
void resume(simgrid::mc::Process& process);
void loop();