Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameron314/readerwriterqueue
/ spsc_queue
Method
spsc_queue
benchmarks/ext/1024cores/spscqueue.h:33–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
{
32
public:
33
spsc_queue()
34
{
35
node* n = new node;
36
n->next_ = 0;
37
tail_ = head_ = first_= tail_copy_ = n;
38
}
39
40
explicit spsc_queue(size_t prealloc)
41
{
Callers
nothing calls this directly
Calls
1
try_dequeue
Function · 0.85
Tested by
no test coverage detected