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

Method enqueue_bulk

include/dmlc/concurrentqueue.h:966–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964 // Thread-safe.
965 template<typename It>
966 bool enqueue_bulk(It itemFirst, size_t count) {
967 if (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
968 return inner_enqueue_bulk<CanAlloc>(itemFirst, count);
969 }
970
971 // Enqueues several items using an explicit producer token.
972 // Allocates memory if required. Only fails if memory allocation fails

Callers

nothing calls this directly

Calls 2

new_block_indexFunction · 0.85
deref_noexceptFunction · 0.85

Tested by

no test coverage detected