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

Method ResetActiveWorkerSet

core/module.h:336–339  ·  view source on GitHub ↗

Reset the set of active workers.

Source from the content-addressed store, hash-verified

334
335 // Reset the set of active workers.
336 void ResetActiveWorkerSet() {
337 std::fill(active_workers_.begin(), active_workers_.end(), false);
338 visited_tasks_.clear();
339 }
340
341 const std::vector<bool> &active_workers() const { return active_workers_; }
342

Callers 1

PropagateActiveWorkerMethod · 0.80

Calls 3

clearMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected