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