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