MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / PushOnlyStack

Method PushOnlyStack

core/predictor/mempool/mempool.h:54–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52class PushOnlyStack {
53 public:
54 PushOnlyStack() { _head.store(NULL, butil::memory_order_relaxed); }
55
56 void push(T* node) {
57 T* head = _head.load(butil::memory_order_relaxed);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected