MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / try_enqueue_bulk

Method try_enqueue_bulk

deps/concurrentqueue/concurrentqueue.h:1080–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1078 // Thread-safe.
1079 template<typename It>
1080 bool try_enqueue_bulk(It itemFirst, size_t count)
1081 {
1082 MOODYCAMEL_CONSTEXPR_IF (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
1083 else return inner_enqueue_bulk<CannotAlloc>(itemFirst, count);
1084 }
1085
1086 // Enqueues several items using an explicit producer token.
1087 // Does not allocate memory. Fails if not enough room to enqueue.

Callers

nothing calls this directly

Calls 1

MOODYCAMEL_CONSTEXPR_IFFunction · 0.85

Tested by

no test coverage detected