Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template allow_multiple_reads

boost::lockfree::allow_multiple_reads

Synopsis

// In header: <boost/lockfree/policies.hpp>

template<bool AllowMultipleReads> 
struct allow_multiple_reads {
};

Description

Configures the spsc_value to consume the value multiple times

Caveats:

  • one cannot move the value out


PrevUpHomeNext