| 301 | } |
| 302 | |
| 303 | void RemoverThread() { |
| 304 | for (int i = 0; i < puts_ + blocking_puts_; i++) { |
| 305 | int32_t arg = 0; |
| 306 | Status s = queue_.BlockingGet(&arg); |
| 307 | if (!s.ok()) { |
| 308 | arg = -1; |
| 309 | } |
| 310 | MutexLock guard(lock_); |
| 311 | gotten_[arg] = gotten_[arg] + 1; |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | void Run() { |
| 316 | for (int i = 0; i < nthreads_; i++) { |
nothing calls this directly
no test coverage detected