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

Method add

internal/concurrentqueue_internal_debug.h:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 void swap(DebugFreeList& other) { std::swap(head, other.head); }
61
62 inline void add(N* node)
63 {
64 DebugLock lock(mutex);
65 node->freeListNext = head;
66 head = node;
67 }
68
69 inline N* try_get()
70 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected