MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / enqueue_bulk

Method enqueue_bulk

source/util/concurrentqueue.h:1037–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035 // Thread-safe.
1036 template<typename It>
1037 bool enqueue_bulk(It itemFirst, size_t count)
1038 {
1039 MOODYCAMEL_CONSTEXPR_IF (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
1040 else return inner_enqueue_bulk<CanAlloc>(itemFirst, count);
1041 }
1042
1043 // Enqueues several items using an explicit producer token.
1044 // 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