MCPcopy Create free account
hub / github.com/NGT-labs/NGT / pushBack

Method pushBack

lib/NGT/Thread.h:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void pushBack(JOB &data) {
156 JobQueue::lock();
157 if (!underPushing) {
158 underPushing = true;
159 pushedSize = 0;
160 }
161 pushedSize++;
162 std::deque<JOB>::push_back(data);
163 JobQueue::unlock();
164 JobQueue::signal();
165 }
166
167 void pushBackEnd() { underPushing = false; }
168

Callers 1

pushInputQueueMethod · 0.45

Calls 1

signalFunction · 0.85

Tested by

no test coverage detected