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

Method inner_enqueue

include/dmlc/concurrentqueue.h:1289–1292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1287
1288 template<AllocationMode canAlloc, typename U>
1289 inline bool inner_enqueue(producer_token_t const &token, U &&element) {
1290 return static_cast<ExplicitProducer *>(token.producer)->ConcurrentQueue::ExplicitProducer::template enqueue<canAlloc>(
1291 std::forward<U>(element));
1292 }
1293
1294 template<AllocationMode canAlloc, typename U>
1295 inline bool inner_enqueue(U &&element) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected