Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CobaltFusion/DebugViewPP
/ Push
Method
Push
include/CobaltFusion/SynchronizedQueue.h:75–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
void Push(T t)
76
{
77
std::unique_lock<std::mutex> lock(m_mtx);
78
m_cond.wait(lock, [&]() { return !Full(lock); });
79
m_q.push(std::move(t));
80
lock.unlock();
81
m_cond.notify_one();
82
}
83
84
T Pop()
85
{
Callers
5
Add
Method · 0.80
~ProcessMonitor
Method · 0.80
Add
Method · 0.80
Call
Method · 0.80
CallAsync
Method · 0.80
Calls
1
wait
Method · 0.80
Tested by
no test coverage detected