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

Method launch_run

include/dmlc/thread_group.h:598–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596 */
597 template<typename SecondaryFunction>
598 static bool launch_run(std::shared_ptr<BQT> pThis,
599 SecondaryFunction secondary_function) {
600 return ThreadGroup::Thread::launch(pThis, true, [](std::shared_ptr<BQT> pThis,
601 SecondaryFunction secondary_function) {
602 return pThis->run(secondary_function);
603 },
604 pThis, secondary_function);
605 }
606
607 /*!
608 * \brief Thread's main queue processing function

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected