MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / launch_run

Method launch_run

include/dmlc/thread_group.h:674–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672 */
673 template<typename SecondaryFunction>
674 static bool launch_run(std::shared_ptr<TimerThread<Duration>> pThis,
675 SecondaryFunction secondary_function) {
676 return ThreadGroup::Thread::launch(pThis, true, [](std::shared_ptr<TimerThread<Duration>> pThis,
677 SecondaryFunction secondary_function) {
678 return pThis->run(secondary_function);
679 },
680 pThis, secondary_function);
681 }
682
683 /*!
684 * \brief Start a given timer thread

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected