MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / takePendingBuffer

Method takePendingBuffer

Default/GenericInspector/TVProcessorWorker.cpp:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91std::vector<SUFLOAT> *
92TVProcessorWorker::takePendingBuffer(void)
93{
94 std::vector<SUFLOAT> *entry;
95
96 this->pendingDataMutex.lock();
97 entry = popFromList(this->pendingList);
98 this->pendingDataMutex.unlock();
99
100 return entry;
101}
102
103void
104TVProcessorWorker::disposeBuffer(std::vector<SUFLOAT> *buffer)

Callers 2

stopMethod · 0.95
processMethod · 0.95

Calls 2

lockMethod · 0.80
unlockMethod · 0.80

Tested by

no test coverage detected