| 89 | } |
| 90 | |
| 91 | std::vector<SUFLOAT> * |
| 92 | TVProcessorWorker::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 | |
| 103 | void |
| 104 | TVProcessorWorker::disposeBuffer(std::vector<SUFLOAT> *buffer) |