page_store_(500),
parent_snapshot_(nullptr)
{
+ process_ = std::unique_ptr<Process>(new Process(pid_, socket_));
}
ModelChecker::~ModelChecker()
if (res < 0 || !WIFSTOPPED(status) || WSTOPSIG(status) != SIGSTOP)
xbt_die("Could not wait model-checked process");
- assert(process_ == nullptr);
- process_ = std::unique_ptr<Process>(new Process(pid_, socket_));
+
// TODO, avoid direct dependency on sg_cfg
process_->privatized(sg_cfg_get_boolean("smpi/privatize_global_variables"));
RegionSnapshot const* ref_region)
{
simgrid::mc::Process* process = &mc_model_checker->process();
+ assert(process != NULL);
bool use_soft_dirty = _sg_mc_sparse_checkpoint && _sg_mc_soft_dirty
&& ref_region != nullptr