| 519 | } |
| 520 | |
| 521 | Status ResumeWorker(ServerContext*, const ResumeWorkerRequest* req, |
| 522 | EmptyResponse*) override { |
| 523 | std::lock_guard<std::recursive_mutex> lock(mutex_); |
| 524 | |
| 525 | int wid = req->wid(); |
| 526 | LOG(INFO) << "*** Resuming worker " << wid << " ***"; |
| 527 | resume_worker(wid); |
| 528 | return Status::OK; |
| 529 | } |
| 530 | |
| 531 | Status ResetWorkers(ServerContext*, const EmptyRequest*, |
| 532 | EmptyResponse*) override { |
nothing calls this directly
no test coverage detected