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

Method enqueue

include/dmlc/thread_group.h:575–579  ·  view source on GitHub ↗

! * \brief Enqueue and item * \param item The item to enqueue */

Source from the content-addressed store, hash-verified

573 * \param item The item to enqueue
574 */
575 void enqueue(const ObjectType& item) {
576 if (!shutdown_in_progress_) {
577 queue_->enqueue(item);
578 }
579 }
580
581 /*!
582 * \brief Get the approximate size of the queue

Callers 1

request_shutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected