#endif
UContext::make_ctx(&this->uc_, UContext::smx_ctx_sysv_wrapper, this);
} else {
- if (process != nullptr && get_maestro() == nullptr)
- set_maestro(this);
+ set_maestro(this); // save maestro for run_all()
}
#if SIMGRID_HAVE_MC
#endif
}
-UContext::~UContext() = default;
-
// The name of this function is currently hardcoded in the code (as string).
// Do not change it without fixing those references as well.
void UContext::smx_ctx_sysv_wrapper(int i1, int i2)