Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dobiasd/FunctionalPlus
/ push
Method
push
include/fplus/queue.hpp:40–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
void push(const T& item)
41
{
42
{
43
std::unique_lock<std::mutex> lock(mutex_);
44
queue_.push_back(item);
45
}
46
cond_.notify_one();
47
}
48
49
std::vector<T> pop_all()
50
{
Callers
6
u
Function · 0.45
c
Function · 0.45
h
Function · 0.45
highlight.pack.js
File · 0.45
queue_test.cpp
File · 0.45
flatten_tree_breadth_first
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected