
31 Jan
2010
31 Jan
'10
9:01 a.m.
On 01/31/2010 01:44 AM, OvermindDL1 wrote:
On Sat, Jan 30, 2010 at 3:40 PM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
Per-thread queues would complicate this addition.
Why?
Because it gets more difficult to determine the total number of queued records. Without introducing a shared locked counter, that is.
Boost.Atomic?
Yes, it will be extremely useful in a few places of the library once it gets accepted. However, in this particular case introducing a shared counter sort of defeats the whole purpose of thread-specific queues.