Ejemplo n.º 1
0
SchedulerDriverStatus scheduler_start(SchedulerPtrPair state)
{
    assert(state.driver != NULL);

    MesosSchedulerDriver* driver = reinterpret_cast<MesosSchedulerDriver*> (state.driver);
    return driver->start();
}
Ejemplo n.º 2
0
SchedulerDriverStatus scheduler_start(SchedulerDriverPtr driver)
{
  TRACE("scheduler_start()\n");
  assert(driver != NULL);

  MesosSchedulerDriver* mdriver =
      reinterpret_cast<MesosSchedulerDriver*>(driver);

  return mdriver->start();
}