| 171 | } |
| 172 | |
| 173 | void Add(PositionType length) { |
| 174 | std::unique_lock<std::mutex> lock(this->mutex); |
| 175 | this->length += length; |
| 176 | this->underflow.notify_all(); |
| 177 | } |
| 178 | |
| 179 | void Completed() { |
| 180 | std::unique_lock<std::mutex> lock(this->mutex); |
no outgoing calls
no test coverage detected