|
Boost : |
Subject: Re: [boost] boost.lockfree update
From: Oleg Grunin (oleg00_at_[hidden])
Date: 2010-08-04 20:24:14
Robert Ramey wrote:
> Oleg Grunin wrote:
>
>> All this said, I have to say that the fifo performance in our
>> environment (64 bit linux with 8 xeon processors, gcc 4.5) was quite
>> good. Comparable with tbb::concurrent_queue and way better than all
>> the other options we tried.
>
> Did your application use a queue of PODS, structures, or pointers?
>>From you post, it sounds like the second isn't supported.
>
> Robert Ramey
>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
I used a non-pod struct. As I mentioned I had to disable the is_pod
check to be able to test it. I didn't notice any adverse effects.
Another nice thing would be to provide move semantics. My struct's are
moved, not copied, into the queue.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk