MCPcopy Create free account
hub / github.com/boostorg/asio / ~fork_join_pool

Method ~fork_join_pool

example/cpp11/executors/fork_join.cpp:54–58  ·  view source on GitHub ↗

The destructor waits for the pool to finish executing functions.

Source from the content-addressed store, hash-verified

52
53 // The destructor waits for the pool to finish executing functions.
54 ~fork_join_pool()
55 {
56 stop_threads();
57 threads_.wait();
58 }
59
60private:
61 friend class fork_executor;

Callers

nothing calls this directly

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected