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

Method PauseAll

core/bessctl.cc:482–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480 }
481
482 Status PauseAll(ServerContext*, const EmptyRequest*,
483 EmptyResponse*) override {
484 std::lock_guard<std::recursive_mutex> lock(mutex_);
485
486 pause_all_workers();
487 LOG(INFO) << "*** All workers have been paused ***";
488 return Status::OK;
489 }
490
491 Status PauseWorker(ServerContext*, const PauseWorkerRequest* req,
492 EmptyResponse*) override {

Callers

nothing calls this directly

Calls 1

pause_all_workersFunction · 0.85

Tested by

no test coverage detected