MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / setThreadPool

Method setThreadPool

src/GraphCtrl/GraphElement/GElementRepository.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27GElementRepositoryPtr GElementRepository::setThreadPool(UThreadPoolPtr ptr) {
28 CGRAPH_ASSERT_NOT_NULL_THROW_ERROR(ptr)
29 for (auto& cur : this->elements_) {
30 cur->setThreadPool(ptr);
31 }
32 return this;
33}
34
35
36CStatus GElementRepository::setup() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected