MCPcopy Create free account
hub / github.com/NetSys/bess / Pop

Method Pop

core/utils/lock_less_queue.h:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 int Pop(T &obj) override {
88 return llring_dequeue(ring_, reinterpret_cast<void**>(&obj));
89 }
90
91 int Pop(T* objs, size_t count) override {
92 if (!llring_dequeue_bulk(ring_, reinterpret_cast<void**>(objs), count)) {

Callers

nothing calls this directly

Calls 2

llring_dequeueFunction · 0.85
llring_dequeue_bulkFunction · 0.85

Tested by

no test coverage detected