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

Method ThreadedIter

include/dmlc/threadediter.h:112–118  ·  view source on GitHub ↗

! * \brief constructor * \param max_capacity maximum capacity of the queue */

Source from the content-addressed store, hash-verified

110 * \param max_capacity maximum capacity of the queue
111 */
112 explicit ThreadedIter(size_t max_capacity = 8)
113 : producer_(nullptr),
114 producer_thread_(nullptr),
115 max_capacity_(max_capacity),
116 nwait_consumer_(0),
117 nwait_producer_(0),
118 out_data_(NULL) {}
119 /*! \brief destructor */
120 virtual ~ThreadedIter(void) {
121 this->Destroy();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected