Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit a2b80500d6.
PrevUpHomeNext
connection_pool::get_executor

Retrieves the executor associated to this object.

Synopsis
connection_pool::executor_type
get_executor() noexcept;
Description

Returns the executor used to construct the pool as first argument. This is the case even when using pool_params::thread_safe - the internal strand created in this case is never exposed.

Exception safety

No-throw guarantee.

Thread-safety

Reads the internal state handle. Reads the pool state. If the pool was built with thread-safety enabled, it can be called concurrently with other functions that don't modify the state handle.


PrevUpHomeNext