| 77 | } |
| 78 | |
| 79 | void ThreadResult::getNextFileSettings(const FileSettings*& fs) |
| 80 | { |
| 81 | std::lock_guard<std::mutex> locker(mutex); |
| 82 | fs = nullptr; |
| 83 | if (mItNextFileSettings == mFileSettings.cend()) { |
| 84 | return; |
| 85 | } |
| 86 | fs = &(*mItNextFileSettings); |
| 87 | ++mItNextFileSettings; |
| 88 | } |
| 89 | |
| 90 | void ThreadResult::setFiles(std::list<FileWithDetails> files) |
| 91 | { |