Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Abc-Arbitrage/Disruptor-cpp
/ push
Method
push
Disruptor/BlockingQueue.h:22–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
typedef std::unique_lock< Mutex > UniqueLock;
21
22
void push(const T& value)
23
{
24
{
25
ScopedLock lock(m_mutex);
26
m_queue.push_back(value);
27
}
28
m_conditionVariable.notify_one();
29
}
30
31
void push(T&& value)
32
{
Callers
1
scheduleAndStart
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected