Esempio n. 1
0
SchedulerDriverStatus scheduler_abort(SchedulerPtrPair state)
{
    assert(state.driver != NULL);

    MesosSchedulerDriver* driver = reinterpret_cast<MesosSchedulerDriver*> (state.driver);
    return driver->abort();
}
Esempio n. 2
0
SchedulerDriverStatus scheduler_abort(SchedulerDriverPtr driver)
{
  TRACE("scheduler_abort()\n");
  assert(driver != NULL);

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

  return mdriver->abort();
}