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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class block_on_overflow

boost::log::sinks::block_on_overflow — Blocking strategy for handling log record queue overflows.

Synopsis

// In header: <boost/log/sinks/block_on_overflow.hpp>


class block_on_overflow {
};

Description

This strategy will cause enqueueing threads to block when the log record queue overflows. The blocked threads will be woken as soon as there appears free space in the queue, in the same order they attempted to enqueue records.


PrevUpHomeNext