MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / appendToQueue

Method appendToQueue

Engine/Cache.h:238–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 }
237
238 void appendToQueue(const std::string & holderID,
239 U64 nodeHash,
240 bool removeAll)
241 {
242 {
243 QMutexLocker k(&_requestQueueMutex);
244 CleanRequest r;
245 r.holderID = holderID;
246 r.nodeHash = nodeHash;
247 r.removeAll = removeAll;
248 _requestsQueues.push_back(r);
249 }
250 if ( !isRunning() ) {
251 start();
252 } else {
253 QMutexLocker k(&_requestQueueMutex);
254 _requestsQueueNotEmptyCond.wakeOne();
255 }
256 }
257
258 void quitThread()
259 {

Callers 5

createInternalMethod · 0.45
removeEntryMethod · 0.45
CacheClass · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected