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

Method try_enqueue_bulk

include/dmlc/concurrentqueue.h:1024–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022 // Thread-safe.
1023 template<typename It>
1024 bool try_enqueue_bulk(It itemFirst, size_t count) {
1025 if (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
1026 return inner_enqueue_bulk<CannotAlloc>(itemFirst, count);
1027 }
1028
1029 // Enqueues several items using an explicit producer token.
1030 // Does not allocate memory. Fails if not enough room to enqueue.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected