MCPcopy Create free account
hub / github.com/NetSys/bess / ResumeWorker

Method ResumeWorker

core/bessctl.cc:521–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

resume_workerFunction · 0.85
widMethod · 0.80

Tested by

no test coverage detected