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

Method pushBack

lib/NGT/Thread.h:192–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 }
191
192 void pushBack(JOB &data) {
193 JobQueue::lock();
194 std::deque<JOB>::push_back(data);
195 if (!JobQueue::isFull()) {
196 JobQueue::unlock();
197 return;
198 }
199 JobQueue::unlock();
200 JobQueue::signal();
201 }
202 };
203
204 class SharedData {

Callers

nothing calls this directly

Calls 1

signalFunction · 0.85

Tested by

no test coverage detected