MCPcopy 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

uFunction · 0.45
cFunction · 0.45
hFunction · 0.45
highlight.pack.jsFile · 0.45
queue_test.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected