MCPcopy Create free account
hub / github.com/dmlc/parameter_server / add

Method add

src/util/threadpool.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void ThreadPool::add(const Task& task) {
54 std::lock_guard<std::mutex> l(mu_);
55 tasks_.push_back(task);
56 if (started_) cv_.notify_all();
57}
58
59} // namespace PS

Callers 2

templateTimesMethod · 0.45
alterStorageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected