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