BoostContextFactory::BoostContextFactory()
: ContextFactory("BoostContextFactory"), parallel_(SIMIX_context_is_parallel())
{
- BoostContext::setMaestro(nullptr);
+ BoostContext::set_maestro(nullptr);
if (parallel_) {
#if HAVE_THREAD_CONTEXTS
ParallelBoostContext::initialize();
} else {
/* all processes were run, return to maestro */
XBT_DEBUG("No more process to run");
- next_context = static_cast<SerialBoostContext*>(BoostContext::getMaestro());
+ next_context = static_cast<SerialBoostContext*>(BoostContext::get_maestro());
}
SIMIX_context_set_current(next_context);
BoostContext::swap(this, next_context);
void SerialBoostContext::resume()
{
SIMIX_context_set_current(this);
- BoostContext::swap(BoostContext::getMaestro(), this);
+ BoostContext::swap(BoostContext::get_maestro(), this);
}
void SerialBoostContext::run_all()