MCPcopy Create free account
hub / github.com/bloomberg/quantum / dequeue

Method dequeue

quantum/impl/quantum_io_queue_impl.h:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239inline
240ITask::Ptr IoQueue::dequeue(std::atomic_bool& hint)
241{
242 if (_loadBalanceSharedIoQueues)
243 {
244 //========================= LOCKED SCOPE =========================
245 SpinLock::Guard lock(_spinlock);
246 return doDequeue(hint);
247 }
248 return doDequeue(hint);
249}
250
251inline
252ITask::Ptr IoQueue::tryDequeue(std::atomic_bool& hint)

Callers 2

grabWorkItemMethod · 0.45
jquery.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected