MCPcopy Create free account
hub / github.com/boostorg/asio / execute

Method execute

example/cpp11/executors/fork_join.cpp:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171 template <class Func>
172 void execute(Func f) const
173 {
174 auto p(std::make_shared<function<Func>>(std::move(f), work_count_));
175 context_.do_execute(p, work_count_);
176 }
177
178 friend bool operator==(const fork_executor& a,
179 const fork_executor& b) noexcept

Callers 8

depositMethod · 0.45
withdrawMethod · 0.45
print_balanceMethod · 0.45
fork_join_poolMethod · 0.45
fork_join_sortFunction · 0.45
depositMethod · 0.45
withdrawMethod · 0.45
balanceMethod · 0.45

Calls 1

do_executeMethod · 0.45

Tested by

no test coverage detected