...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(EXPERIMENTAL) Executor configuration for connection pools.
Defined in header <boost/mysql/pool_params.hpp>
struct pool_executor_params
Name |
Description |
---|---|
Creates a pool_executor_params object that makes pools thread-safe. |
Name |
Description |
---|---|
The executor to be used by connections created by the pool. |
|
The executor to be used by the pool's internal objects. |
Contains two executors: one for the pool's internal objects, and another for the connections created by the pool.
You may use thread_safe
to create an instance
of this class that makes pools thread-safe.
This part of the API is experimental, and may change in successive releases without previous notice.