Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
connection_pool::~connection_pool

Destructor.

Synopsis
~connection_pool();
Description

Cancels all outstanding async operations on *this, as per cancel.

Thread-safety

Mutates the internal state handle. Mutates the pool state. This function can never be called concurrently with other functions that read the internal state handle, even for pools created with pool_params::thread_safe set to true.

The internal pool state is modified as per cancel. If thread-safety is enabled, it's safe to call the destructor concurrently with functions that only access the pool's internal state, like returning connections.


PrevUpHomeNext