folly::LockFreeRingBuffer::LockFreeRingBuffer

Constructors

Synopses

Declared in <folly/concurrency/container/LockFreeRingBuffer.h>

Copy construction is deleted.

LockFreeRingBuffer(LockFreeRingBuffer const& other) = delete;
» more...

Constructs a ring buffer holding the given number of writes.

explicit
LockFreeRingBuffer(uint32_t capacity) noexcept;
» more...

Parameters

NameDescription
otherBuffer to copy from.
capacityThe number of slots retained in the buffer.