MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / enqueue_bulk

Method enqueue_bulk

concurrentqueue.h:1050–1054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048 // Thread-safe.
1049 template<typename It>
1050 bool enqueue_bulk(It itemFirst, size_t count)
1051 {
1052 MOODYCAMEL_CONSTEXPR_IF (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
1053 else return inner_enqueue_bulk<CanAlloc>(itemFirst, count);
1054 }
1055
1056 // Enqueues several items using an explicit producer token.
1057 // Allocates memory if required. Only fails if memory allocation fails

Callers

nothing calls this directly

Calls 1

MOODYCAMEL_CONSTEXPR_IFFunction · 0.85

Tested by

no test coverage detected