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

Method BlockingQueueThread

include/dmlc/thread_group.h:538–543  ·  view source on GitHub ↗

! * \brief Constructor * \param name Name for the blockin g queue thread. Must be unique for a specific ThreadGroup * \param owner ThreadGroup lifecycle manafger/owner * \param thrd Optionally attach an existing stl thread object */

Source from the content-addressed store, hash-verified

536 * \param thrd Optionally attach an existing stl thread object
537 */
538 BlockingQueueThread(const std::string& name,
539 dmlc::ThreadGroup *owner,
540 std::thread *thrd = nullptr)
541 : ThreadGroup::Thread(std::move(name), owner, thrd)
542 , shutdown_in_progress_(false) {
543 }
544
545
546 /*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected