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


Class block_on_overflow

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


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

class block_on_overflow {


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.