|
Boost : |
Subject: Re: [boost] [log] Release Candidate 4 released
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-01-31 04:01:01
On 01/31/2010 01:44 AM, OvermindDL1 wrote:
> On Sat, Jan 30, 2010 at 3:40 PM, Andrey Semashev
> <andrey.semashev_at_[hidden]> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk