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

Method head_unsafe

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

Useful for traversing the list when there's no contention (e.g. to destroy remaining nodes)

Source from the content-addressed store, hash-verified

1490
1491 // Useful for traversing the list when there's no contention (e.g. to destroy remaining nodes)
1492 N* head_unsafe() const { return freeListHead.load(std::memory_order_relaxed); }
1493
1494 private:
1495 inline void add_knowing_refcount_is_zero(N* node)

Callers 2

~ConcurrentQueueMethod · 0.80
getForMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected