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

PrevUpHomeNext

pool_executor_params

(EXPERIMENTAL) Executor configuration for connection pools.

Synopsis

Defined in header <boost/mysql/pool_params.hpp>

struct pool_executor_params
Static Member Functions

Name

Description

thread_safe

Creates a pool_executor_params object that makes pools thread-safe.

Data Members

Name

Description

connection_executor

The executor to be used by connections created by the pool.

pool_executor

The executor to be used by the pool's internal objects.

Description

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.

Experimental

This part of the API is experimental, and may change in successive releases without previous notice.


PrevUpHomeNext