Boost logo

Boost :

Subject: [boost] [boost.lockfree] spsc_queue preallocated memory block
From: Philip Bennefall (philip_at_[hidden])
Date: 2014-10-25 12:36:35


Hi all,

I have a feature request for Boost.lockfree (spsc_queue in particular).
When using the runtime sized version, could there possibly be a
constructor that takes max_size as well as a T* that is then used as the
memory buffer? This would remove the need for a specialized allocator if
I want to quickly initialize the buffer with memory that does not come
from the default std allocator.

Kind regards,

Philip Bennefall


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk