Home
last modified time | relevance | path

Searched refs:work_count_ (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/asio/example/cpp14/executors/
Dfork_join.cpp67 std::shared_ptr<std::size_t> work_count_; member
88 std::shared_ptr<std::size_t> work_count(std::move(p->work_count_)); in execute()
163 work_count_(std::make_shared<std::size_t>(0)) in fork_executor()
175 auto p(std::make_shared<function<Func>>(std::move(f), work_count_)); in execute()
176 context_.do_execute(p, work_count_); in execute()
182 return a.work_count_ == b.work_count_; in operator ==()
188 return a.work_count_ != b.work_count_; in operator !=()
196 while (*work_count_ > 0) in join()
208 work_count_ = w; in function()
221 std::shared_ptr<std::size_t> work_count_; member in fork_executor
/third_party/boost/doc/html/boost_asio/example/cpp11/executors/
Dfork_join.cpp67 std::shared_ptr<std::size_t> work_count_; member
88 std::shared_ptr<std::size_t> work_count(std::move(p->work_count_)); in execute()
163 work_count_(std::make_shared<std::size_t>(0)) in fork_executor()
175 auto p(std::make_shared<function<Func>>(std::move(f), work_count_)); in execute()
176 context_.do_execute(p, work_count_); in execute()
182 return a.work_count_ == b.work_count_; in operator ==()
188 return a.work_count_ != b.work_count_; in operator !=()
196 while (*work_count_ > 0) in join()
208 work_count_ = w; in function()
221 std::shared_ptr<std::size_t> work_count_; member in fork_executor
/third_party/boost/libs/asio/example/cpp11/executors/
Dfork_join.cpp67 std::shared_ptr<std::size_t> work_count_; member
88 std::shared_ptr<std::size_t> work_count(std::move(p->work_count_)); in execute()
163 work_count_(std::make_shared<std::size_t>(0)) in fork_executor()
175 auto p(std::make_shared<function<Func>>(std::move(f), work_count_)); in execute()
176 context_.do_execute(p, work_count_); in execute()
182 return a.work_count_ == b.work_count_; in operator ==()
188 return a.work_count_ != b.work_count_; in operator !=()
196 while (*work_count_ > 0) in join()
208 work_count_ = w; in function()
221 std::shared_ptr<std::size_t> work_count_; member in fork_executor
/third_party/gn/src/gn/
Dscheduler.cc147 work_count_.Increment(); in IncrementWorkCount()
151 if (!work_count_.Decrement()) { in DecrementWorkCount()
Dscheduler.h119 base::AtomicRefCount work_count_; variable