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

Method try_dequeue

benchmarks/tbbqueue.h:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 inline bool try_dequeue(T& item)
24 {
25 return q.try_pop(item);
26 }
27
28 // Dummy token methods (not used)
29 bool enqueue(producer_token_t const&, T const&) { return false; }

Callers 2

runBenchmarkFunction · 0.45

Calls 1

try_popMethod · 0.45

Tested by

no test coverage detected